Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001338, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.71/2.71, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 60.77 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3143, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005798/0.3201, allocations: 4.399 MB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.3246, allocations: 3.256 MB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.3249, allocations: 11.94 kB / 1.076 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.3264, allocations: 0.5096 MB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.3273, allocations: 394 kB / 1.077 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.3279, allocations: 247.4 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006892/0.3286, allocations: 0.5915 MB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006679/0.3293, allocations: 0.5366 MB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.3298, allocations: 279.1 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.3302, allocations: 274.9 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-05/0.3303, allocations: 40 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.3308, allocations: 295.5 kB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.331, allocations: 167.5 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.3313, allocations: 230.9 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.3321, allocations: 0.7829 MB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3322, allocations: 0 / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3322, allocations: 3.938 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.3322, allocations: 4 kB / 1.08 GB, free: 14.43 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0013/0.3335, allocations: 0.7597 MB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.3335, allocations: 12.03 kB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.3365, allocations: 0.6789 MB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006264/0.3371, allocations: 435.8 kB / 1.082 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.3371, allocations: 32.94 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.3372, allocations: 40.12 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3388, allocations: 0.7787 MB / 1.083 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3388, allocations: 7.938 kB / 1.083 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.3389, allocations: 12 kB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.339, allocations: 44.61 kB / 1.083 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.3411, allocations: 0.8648 MB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.3448, allocations: 2.819 MB / 1.086 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.3465, allocations: 0.5136 MB / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007303/0.3473, allocations: 260.6 kB / 1.087 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.3474, allocations: 85.11 kB / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3474, allocations: 38.55 kB / 1.087 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.3474, allocations: 3.938 kB / 1.087 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.01219/0.3596, allocations: 3.057 MB / 1.09 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3597, allocations: 51.41 kB / 1.09 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.3602, allocations: 405.5 kB / 1.09 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.3602, allocations: 25.7 kB / 1.091 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3604, allocations: 243.8 kB / 1.091 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.3605, allocations: 82.73 kB / 1.091 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.3606, allocations: 73.62 kB / 1.091 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3608, allocations: 354.7 kB / 1.091 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.3617, allocations: 356.5 kB / 1.092 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.3628, allocations: 424.5 kB / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.3647, allocations: 0.7599 MB / 1.093 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3647, allocations: 0 / 1.093 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005088/0.3698, allocations: 1.501 MB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3699, allocations: 8 kB / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3699, allocations: 0 / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003494/0.3734, allocations: 0.7663 MB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.374, allocations: 127.8 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006465/0.3805, allocations: 4.854 MB / 1.1 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007847/0.3813, allocations: 107.8 kB / 1.1 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.3814, allocations: 16 kB / 1.1 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.3825, allocations: 0.5348 MB / 1.1 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009725/0.3835, allocations: 422 kB / 1.101 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001867/0.3854, allocations: 0.7344 MB / 1.102 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.3854, allocations: 0 / 1.102 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004229/0.3896, allocations: 1.262 MB / 1.103 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3897, allocations: 9.281 kB / 1.103 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3897, allocations: 4 kB / 1.103 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.3919, allocations: 0.5002 MB / 1.103 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.3926, allocations: 143.8 kB / 1.103 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.396, allocations: 2.601 MB / 1.106 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.3968, allocations: 111.8 kB / 1.106 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.3969, allocations: 19.98 kB / 1.106 GB, free: 2.535 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.397, allocations: 201.7 kB / 1.106 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-05/0.3971, allocations: 31.62 kB / 1.106 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.4017, allocations: 1.359 MB / 1.108 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4018, allocations: 4 kB / 1.108 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.4018, allocations: 0 / 1.108 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4018, allocations: 0 / 1.108 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/0.4069, allocations: 2 MB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4069, allocations: 0 / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.4073, allocations: 79.94 kB / 1.11 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003093/0.4104, allocations: 0.7116 MB / 1.11 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.4105, allocations: 7.922 kB / 1.11 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005537/0.416, allocations: 4.678 MB / 1.115 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.416, allocations: 0 / 1.115 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.4203, allocations: 1.357 MB / 1.116 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.4205, allocations: 156.7 kB / 1.116 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.4206, allocations: 11.94 kB / 1.116 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/0.4212, allocations: 87.84 kB / 1.117 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4213, allocations: 27.97 kB / 1.117 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.4214, allocations: 7.938 kB / 1.117 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004067/0.4218, allocations: 311.1 kB / 1.117 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4218, allocations: 0 / 1.117 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000822/0.4226, allocations: 200 kB / 1.117 GB, free: 6.895 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00017/0.4228, allocations: 115.1 kB / 1.117 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003801/0.4266, allocations: 1.587 MB / 1.119 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4266, allocations: 0 / 1.119 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.4278, allocations: 0.6301 MB / 1.119 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.4285, allocations: 124.5 kB / 1.119 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.4306, allocations: 1.051 MB / 1.12 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.4312, allocations: 0.917 MB / 1.121 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006215/0.4318, allocations: 151.2 kB / 1.122 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.4319, allocations: 43.41 kB / 1.122 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.432, allocations: 0 / 1.122 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.02086/0.4528, allocations: 12.54 MB / 1.134 GB, free: 5.672 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)