Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 192.9 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.88 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3761, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006816/0.383, allocations: 4.924 MB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004946/0.388, allocations: 2.506 MB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000583/0.3886, allocations: 27.75 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3899, allocations: 358.5 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.391, allocations: 414 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.3919, allocations: 362.8 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.393, allocations: 1.136 MB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.3936, allocations: 347.3 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004508/0.3941, allocations: 310.6 kB / 1.078 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.3945, allocations: 354.4 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.3945, allocations: 28 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.3954, allocations: 499 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.3955, allocations: 171.5 kB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.3958, allocations: 310.2 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008783/0.3967, allocations: 0.8917 MB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3967, allocations: 0 / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3967, allocations: 0 / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.3967, allocations: 3.938 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001533/0.3983, allocations: 0.9501 MB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3983, allocations: 12.03 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3996, allocations: 199.9 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.4003, allocations: 0.4982 MB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.4003, allocations: 33.36 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.512e-05/0.4004, allocations: 48.36 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.4015, allocations: 0.8446 MB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.4015, allocations: 7.938 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.4016, allocations: 23.98 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-05/0.4017, allocations: 68.95 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.4025, allocations: 0.5656 MB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.4066, allocations: 5.662 MB / 1.088 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.4073, allocations: 450.3 kB / 1.089 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.4076, allocations: 232.7 kB / 1.089 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.4076, allocations: 4 kB / 1.089 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.4077, allocations: 30.56 kB / 1.089 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.4077, allocations: 0 / 1.089 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002468/0.4101, allocations: 1.516 MB / 1.091 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.4102, allocations: 59.69 kB / 1.091 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.4107, allocations: 0.4952 MB / 1.091 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.4107, allocations: 29.7 kB / 1.091 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.411, allocations: 366.8 kB / 1.092 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/0.4111, allocations: 122.3 kB / 1.092 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4112, allocations: 114.1 kB / 1.092 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4114, allocations: 362.8 kB / 1.092 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.4117, allocations: 197.2 kB / 1.092 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.4121, allocations: 443.3 kB / 1.093 GB, free: 64 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/0.4129, allocations: 0.6914 MB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4129, allocations: 4 kB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001227/0.4141, allocations: 0.8093 MB / 1.094 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4142, allocations: 8 kB / 1.094 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4142, allocations: 11.98 kB / 1.094 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005064/0.4147, allocations: 152.7 kB / 1.094 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.4151, allocations: 127.7 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.4182, allocations: 4.044 MB / 1.098 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.4186, allocations: 39.91 kB / 1.099 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.4187, allocations: 24 kB / 1.099 GB, free: 9.598 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.4189, allocations: 211.9 kB / 1.099 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.419, allocations: 59.34 kB / 1.099 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.42, allocations: 0.6048 MB / 1.099 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4201, allocations: 4 kB / 1.099 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4201, allocations: 3.938 kB / 1.099 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4201, allocations: 3.938 kB / 1.099 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.4219, allocations: 1.261 MB / 1.101 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4219, allocations: 4 kB / 1.101 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.4221, allocations: 55.89 kB / 1.101 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003995/0.4225, allocations: 140.4 kB / 1.101 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.4226, allocations: 8 kB / 1.101 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.4255, allocations: 4.037 MB / 1.105 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4256, allocations: 0 / 1.105 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.4265, allocations: 0.7077 MB / 1.105 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.4267, allocations: 168.3 kB / 1.106 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.4268, allocations: 11.94 kB / 1.106 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.427, allocations: 27.97 kB / 1.106 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.4271, allocations: 27.95 kB / 1.106 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4271, allocations: 12 kB / 1.106 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003332/0.4275, allocations: 338.8 kB / 1.106 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.433e-06/0.4275, allocations: 0 / 1.106 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005923/0.4281, allocations: 143.9 kB / 1.106 GB, free: 1.191 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.4282, allocations: 119.4 kB / 1.106 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.4296, allocations: 1.028 MB / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4296, allocations: 0.875 kB / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.4304, allocations: 0.7461 MB / 1.108 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.4314, allocations: 193 kB / 1.108 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.433, allocations: 1.255 MB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.4335, allocations: 0.9137 MB / 1.11 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000328/0.4338, allocations: 125.3 kB / 1.11 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.434, allocations: 43.44 kB / 1.11 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.434, allocations: 0 / 1.11 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of Templates: time 0.01434/0.4483, allocations: 7.354 MB / 1.118 GB, free: 5.258 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)