Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001319/0.001319, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001362/0.001362, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.938/1.938, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001725, allocations: 67.34 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2786, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.4828/0.7615, allocations: 4.355 MB / 0.789 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004396/0.7659, allocations: 3.255 MB / 0.7922 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.7663, allocations: 10.03 kB / 0.7922 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.768, allocations: 0.5007 MB / 0.7927 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.7691, allocations: 393.3 kB / 0.7931 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.7698, allocations: 248.4 kB / 0.7933 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008493/0.7707, allocations: 0.5931 MB / 0.7939 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008091/0.7715, allocations: 0.5286 MB / 0.7944 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.772, allocations: 276.4 kB / 0.7947 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.7724, allocations: 278.7 kB / 0.795 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.7725, allocations: 37.34 kB / 0.795 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.7731, allocations: 294.3 kB / 0.7953 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.7733, allocations: 168.9 kB / 0.7954 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.7735, allocations: 226.7 kB / 0.7957 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007359/0.7742, allocations: 0.7781 MB / 0.7964 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7742, allocations: 3.141 kB / 0.7964 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7743, allocations: 3.469 kB / 0.7964 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.7743, allocations: 1.312 kB / 0.7964 GB, free: 44.96 MB / 0.6544 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.7756, allocations: 0.7738 MB / 0.7972 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7756, allocations: 6.75 kB / 0.7972 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/0.7785, allocations: 0.6532 MB / 0.7978 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.7795, allocations: 451.5 kB / 0.7983 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.7795, allocations: 23.3 kB / 0.7983 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.7796, allocations: 35.34 kB / 0.7983 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.7816, allocations: 0.7741 MB / 0.7991 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.7816, allocations: 1.375 kB / 0.7991 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.7817, allocations: 13.56 kB / 0.7991 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.7818, allocations: 47.17 kB / 0.7991 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.7844, allocations: 0.8565 MB / 0.8 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/0.7897, allocations: 2.785 MB / 0.8027 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.7919, allocations: 0.5044 MB / 0.8032 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/0.7927, allocations: 252.6 kB / 0.8034 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.7929, allocations: 86.08 kB / 0.8035 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.7929, allocations: 40 kB / 0.8035 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.695e-06/0.7929, allocations: 0 / 0.8035 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.01291/0.8058, allocations: 2.957 MB / 0.8064 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.8059, allocations: 60.94 kB / 0.8065 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.8065, allocations: 401.9 kB / 0.8069 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.8066, allocations: 31.52 kB / 0.8069 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.8068, allocations: 235 kB / 0.8071 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.8068, allocations: 85.3 kB / 0.8072 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.807, allocations: 68.42 kB / 0.8073 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8072, allocations: 347.5 kB / 0.8076 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.8083, allocations: 349 kB / 0.8079 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.8094, allocations: 416.5 kB / 0.8083 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.8114, allocations: 0.7389 MB / 0.809 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8114, allocations: 0 / 0.809 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005586/0.817, allocations: 1.471 MB / 0.8105 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.817, allocations: 5.188 kB / 0.8105 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.8171, allocations: 3.047 kB / 0.8105 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/0.8209, allocations: 0.7704 MB / 0.8112 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.8217, allocations: 126.3 kB / 0.8114 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007123/0.8288, allocations: 4.838 MB / 0.8161 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/0.8298, allocations: 109 kB / 0.8162 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.8299, allocations: 17.47 kB / 0.8162 GB, free: 35.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001352/0.8312, allocations: 0.5143 MB / 0.8167 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00102/0.8323, allocations: 413 kB / 0.8171 GB, free: 35.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002086/0.8344, allocations: 0.7093 MB / 0.8178 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.8344, allocations: 0 / 0.8178 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.00472/0.8391, allocations: 1.252 MB / 0.819 GB, free: 34.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.8391, allocations: 5.453 kB / 0.819 GB, free: 34.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.8392, allocations: 2.5 kB / 0.819 GB, free: 34.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.8419, allocations: 0.4957 MB / 0.8195 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/0.8428, allocations: 135.1 kB / 0.8196 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.8471, allocations: 2.611 MB / 0.8222 GB, free: 32.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00094/0.8481, allocations: 102.9 kB / 0.8223 GB, free: 32.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.8481, allocations: 15.78 kB / 0.8223 GB, free: 32.9 MB / 0.6544 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.0002167/0.8484, allocations: 206.2 kB / 0.8225 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.8485, allocations: 33.39 kB / 0.8225 GB, free: 32.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/0.8536, allocations: 1.341 MB / 0.8238 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.8537, allocations: 1.453 kB / 0.8238 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.8537, allocations: 4 kB / 0.8239 GB, free: 32.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.8542, allocations: 169.1 kB / 0.824 GB, free: 32.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.252e-05/0.8542, allocations: 1.25 kB / 0.824 GB, free: 32.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.8549, allocations: 85.91 kB / 0.8241 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.8551, allocations: 30.22 kB / 0.8241 GB, free: 32.2 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00428/0.8594, allocations: 1.155 MB / 0.8253 GB, free: 31.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002786/0.8622, allocations: 1.111 MB / 0.8263 GB, free: 31.41 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009053/0.8631, allocations: 315.3 kB / 0.8266 GB, free: 31.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005559/0.8637, allocations: 300.3 kB / 0.8269 GB, free: 31.19 MB / 0.6544 GB Notification: Performance of Backend: time 1.954e-06/0.8637, allocations: 0 / 0.8269 GB, free: 31.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004699/0.8684, allocations: 1.473 MB / 0.8284 GB, free: 30.48 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002194/0.8706, allocations: 1.422 MB / 0.8298 GB, free: 29.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.02737/0.898, allocations: 14.64 MB / 0.8441 GB, free: 22.61 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)