Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 109 kB / 16.42 MB, free: 6.512 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.001251/0.001252, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 295.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9617/0.9617, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 96.22 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4392, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007065/0.4464, allocations: 5.073 MB / 0.772 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004864/0.4512, allocations: 3.331 MB / 0.7753 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.4516, allocations: 15.94 kB / 0.7753 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.4531, allocations: 0.5057 MB / 0.7758 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000967/0.4541, allocations: 386.6 kB / 0.7761 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006708/0.4548, allocations: 271.3 kB / 0.7764 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009186/0.4557, allocations: 0.6424 MB / 0.777 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.4564, allocations: 0.5287 MB / 0.7775 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.4569, allocations: 291.2 kB / 0.7778 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.4574, allocations: 299 kB / 0.7781 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-05/0.4575, allocations: 44 kB / 0.7782 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.4581, allocations: 303.5 kB / 0.7784 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.4583, allocations: 183.5 kB / 0.7786 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.4586, allocations: 231 kB / 0.7788 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009224/0.4595, allocations: 0.8282 MB / 0.7796 GB, free: 6.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4595, allocations: 4 kB / 0.7796 GB, free: 6.992 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4595, allocations: 0 / 0.7796 GB, free: 6.992 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.4595, allocations: 0 / 0.7796 GB, free: 6.992 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001565/0.4611, allocations: 0.7948 MB / 0.7804 GB, free: 6.148 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.4612, allocations: 12.03 kB / 0.7804 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/0.464, allocations: 0.6594 MB / 0.7811 GB, free: 5.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/0.4649, allocations: 471.7 kB / 0.7815 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.465, allocations: 29.02 kB / 0.7816 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/0.465, allocations: 32.12 kB / 0.7816 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.4668, allocations: 0.8239 MB / 0.7824 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.4668, allocations: 0 / 0.7824 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.4669, allocations: 12 kB / 0.7824 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.4671, allocations: 56.59 kB / 0.7825 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.4692, allocations: 0.9155 MB / 0.7834 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00416/0.4734, allocations: 2.851 MB / 0.7861 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.4752, allocations: 0.541 MB / 0.7867 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007749/0.4759, allocations: 301.5 kB / 0.787 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.4761, allocations: 85.11 kB / 0.787 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.4761, allocations: 34.56 kB / 0.7871 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.684e-06/0.4761, allocations: 0 / 0.7871 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.01253/0.4886, allocations: 3.402 MB / 0.7904 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4887, allocations: 55.41 kB / 0.7904 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/0.4894, allocations: 400.4 kB / 0.7908 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.4895, allocations: 29.7 kB / 0.7909 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.4898, allocations: 231.9 kB / 0.7911 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.4899, allocations: 118.4 kB / 0.7912 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.4901, allocations: 73.69 kB / 0.7913 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4903, allocations: 346.8 kB / 0.7916 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/0.4913, allocations: 380.5 kB / 0.7919 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.4923, allocations: 452.2 kB / 0.7924 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.4943, allocations: 0.8159 MB / 0.7932 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4943, allocations: 0 / 0.7932 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005485/0.4998, allocations: 1.628 MB / 0.7948 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4999, allocations: 4.188 kB / 0.7948 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4999, allocations: 11.94 kB / 0.7948 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/0.5039, allocations: 0.8684 MB / 0.7956 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.5046, allocations: 127.8 kB / 0.7958 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008703/0.5133, allocations: 6.679 MB / 0.8023 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/0.5142, allocations: 103.8 kB / 0.8024 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.5143, allocations: 12 kB / 0.8024 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001206/0.5155, allocations: 0.566 MB / 0.8029 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001004/0.5165, allocations: 441 kB / 0.8034 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001867/0.5184, allocations: 0.8038 MB / 0.8041 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.5184, allocations: 0 / 0.8041 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004834/0.5232, allocations: 1.614 MB / 0.8057 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5232, allocations: 8 kB / 0.8057 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.5233, allocations: 0 / 0.8057 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.5261, allocations: 0.6471 MB / 0.8064 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.5267, allocations: 127.8 kB / 0.8065 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/0.5338, allocations: 7.284 MB / 0.8136 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.5346, allocations: 107.9 kB / 0.8137 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.5346, allocations: 12 kB / 0.8137 GB, free: 2.438 MB / 0.5762 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.5348, allocations: 207.4 kB / 0.8139 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5349, allocations: 51.44 kB / 0.814 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/0.5399, allocations: 1.517 MB / 0.8154 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.5399, allocations: 3.984 kB / 0.8154 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5399, allocations: 3.938 kB / 0.8154 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.5402, allocations: 168.6 kB / 0.8156 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.5403, allocations: 7.984 kB / 0.8156 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.5409, allocations: 75.88 kB / 0.8157 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.541, allocations: 39.94 kB / 0.8157 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003876/0.5449, allocations: 1.307 MB / 0.817 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002412/0.5473, allocations: 1.234 MB / 0.8182 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007337/0.5481, allocations: 351.7 kB / 0.8185 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003475/0.5484, allocations: 303.1 kB / 0.8188 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of Backend: time 4.31e-07/0.5484, allocations: 0 / 0.8188 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004418/0.5529, allocations: 2.086 MB / 0.8209 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001879/0.5548, allocations: 1.514 MB / 0.8223 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of Templates: time 0.02406/0.5789, allocations: 16.64 MB / 0.8386 GB, free: 8.855 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)