Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007172/0.007172, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.001344/0.001344, allocations: 199.3 kB / 16.67 MB, free: 5.977 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 266.6 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9595/0.9595, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 87.86 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1526, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008193/0.1608, allocations: 6.795 MB / 0.773 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.307/0.4678, allocations: 3.047 MB / 0.776 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004449/0.4683, allocations: 29.56 kB / 0.776 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.4705, allocations: 0.9466 MB / 0.777 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.4715, allocations: 0.5243 MB / 0.7775 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009694/0.4725, allocations: 446.1 kB / 0.7779 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.4736, allocations: 1.237 MB / 0.7791 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007856/0.4744, allocations: 0.6652 MB / 0.7798 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/0.4749, allocations: 479.1 kB / 0.7802 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.4755, allocations: 0.5212 MB / 0.7807 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.906e-05/0.4756, allocations: 67.25 kB / 0.7808 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006232/0.4762, allocations: 383.2 kB / 0.7811 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.4764, allocations: 308.5 kB / 0.7814 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.4768, allocations: 454.7 kB / 0.7819 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4779, allocations: 1.213 MB / 0.7831 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4779, allocations: 5.641 kB / 0.7831 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4779, allocations: 3.938 kB / 0.7831 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.4779, allocations: 0 / 0.7831 GB, free: 7.781 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00166/0.4796, allocations: 1.164 MB / 0.7842 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.4796, allocations: 9.938 kB / 0.7842 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.4811, allocations: 242.3 kB / 0.7844 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.482, allocations: 0.6068 MB / 0.785 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.482, allocations: 54.3 kB / 0.7851 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.4821, allocations: 61.36 kB / 0.7852 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.4834, allocations: 1.08 MB / 0.7862 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.4834, allocations: 11.08 kB / 0.7862 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.4835, allocations: 37 kB / 0.7863 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.4836, allocations: 83.59 kB / 0.7863 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.4846, allocations: 0.7492 MB / 0.7871 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.4888, allocations: 5.871 MB / 0.7928 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009198/0.4897, allocations: 0.5556 MB / 0.7933 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.4902, allocations: 329 kB / 0.7937 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.4902, allocations: 6.031 kB / 0.7937 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.4902, allocations: 42.52 kB / 0.7937 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.4902, allocations: 0 / 0.7937 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003529/0.4938, allocations: 1.989 MB / 0.7956 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4938, allocations: 60.34 kB / 0.7957 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.4944, allocations: 0.5595 MB / 0.7962 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/0.4945, allocations: 36.2 kB / 0.7963 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.4948, allocations: 416.9 kB / 0.7967 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.4949, allocations: 173.1 kB / 0.7968 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.4951, allocations: 123.4 kB / 0.797 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4953, allocations: 383.5 kB / 0.7973 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.4957, allocations: 275.1 kB / 0.7976 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.4962, allocations: 497.4 kB / 0.7981 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.4972, allocations: 0.8062 MB / 0.7988 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4972, allocations: 1.156 kB / 0.7988 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001866/0.4991, allocations: 1.092 MB / 0.7999 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4991, allocations: 8.422 kB / 0.7999 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4992, allocations: 6.344 kB / 0.7999 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008587/0.5, allocations: 277.8 kB / 0.8002 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.5005, allocations: 125.8 kB / 0.8003 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006784/0.5073, allocations: 7.134 MB / 0.8073 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.5079, allocations: 43.81 kB / 0.8073 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.508, allocations: 27.89 kB / 0.8074 GB, free: 6.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003683/0.5083, allocations: 260.8 kB / 0.8076 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.5085, allocations: 76.12 kB / 0.8077 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.5101, allocations: 0.8799 MB / 0.8085 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5101, allocations: 8.938 kB / 0.8085 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5101, allocations: 8.109 kB / 0.8085 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.5101, allocations: 3.281 kB / 0.8086 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.5128, allocations: 1.726 MB / 0.8102 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5128, allocations: 1.031 kB / 0.8102 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.513, allocations: 61.44 kB / 0.8103 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007735/0.5138, allocations: 272.8 kB / 0.8106 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.5139, allocations: 13.38 kB / 0.8106 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00626/0.5201, allocations: 7.128 MB / 0.8175 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5202, allocations: 2.219 kB / 0.8175 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.5217, allocations: 0.9834 MB / 0.8185 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.522, allocations: 189.3 kB / 0.8187 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.5221, allocations: 13.47 kB / 0.8187 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.5225, allocations: 30.53 kB / 0.8187 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5226, allocations: 44.95 kB / 0.8188 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.5226, allocations: 15 kB / 0.8188 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004682/0.5231, allocations: 393.7 kB / 0.8191 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5231, allocations: 7.938 kB / 0.8192 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008223/0.5239, allocations: 220.7 kB / 0.8194 GB, free: 13.46 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.5241, allocations: 119.4 kB / 0.8195 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.5259, allocations: 1.281 MB / 0.8207 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5259, allocations: 0 / 0.8207 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.5272, allocations: 0.8903 MB / 0.8216 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.5281, allocations: 215.5 kB / 0.8218 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.5302, allocations: 1.334 MB / 0.8231 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.5309, allocations: 1.015 MB / 0.8241 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.5312, allocations: 117.9 kB / 0.8242 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.5313, allocations: 42.03 kB / 0.8243 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.5313, allocations: 0 / 0.8243 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.01885/0.5502, allocations: 11.34 MB / 0.8353 GB, free: 5.402 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)