Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.007591/0.007591, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001702/0.001702, allocations: 190.4 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 279 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9402/0.9402, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 95.86 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1425, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3405/0.483, allocations: 35.11 MB / 0.8007 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.5013, allocations: 9.946 MB / 0.8104 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004535/0.5058, allocations: 144.1 kB / 0.8105 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.5171, allocations: 3.809 MB / 0.8143 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007316/0.5244, allocations: 2.148 MB / 0.8164 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006029/0.5305, allocations: 1.96 MB / 0.8183 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01082/0.5413, allocations: 7.993 MB / 0.8261 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.5557, allocations: 9.523 MB / 0.8354 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006466/0.5622, allocations: 3.426 MB / 0.8387 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00676/0.5689, allocations: 3.744 MB / 0.8424 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002473/0.5714, allocations: 0.6783 MB / 0.843 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.5762, allocations: 1.44 MB / 0.8444 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.5801, allocations: 2.614 MB / 0.847 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004619/0.5847, allocations: 3.101 MB / 0.85 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.5954, allocations: 10.38 MB / 0.8602 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5955, allocations: 0 / 0.8602 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5955, allocations: 0 / 0.8602 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002188/0.5957, allocations: 0 / 0.8602 GB, free: 3.785 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009956/0.6056, allocations: 5.405 MB / 0.8654 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6057, allocations: 8.031 kB / 0.8654 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004255/0.61, allocations: 0.9626 MB / 0.8664 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/0.6148, allocations: 3.174 MB / 0.8695 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.6151, allocations: 365.9 kB / 0.8698 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006556/0.6157, allocations: 468.2 kB / 0.8703 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.6268, allocations: 7.906 MB / 0.878 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.6269, allocations: 23.81 kB / 0.878 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004479/0.6274, allocations: 208 kB / 0.8782 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004463/0.6278, allocations: 365.1 kB / 0.8786 GB, free: 436 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009502/0.6374, allocations: 5.937 MB / 0.8844 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03514/0.6725, allocations: 35.97 MB / 0.9195 GB, free: 3.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.6758, allocations: 2.139 MB / 0.9216 GB, free: 1.117 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.6778, allocations: 1.48 MB / 0.923 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.678, allocations: 17.31 kB / 0.923 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.678, allocations: 59.8 kB / 0.9231 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=157): time 3.857e-06/0.6781, allocations: 0 / 0.9231 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.01339/0.6914, allocations: 7.54 MB / 0.9305 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.6915, allocations: 68.72 kB / 0.9305 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.6943, allocations: 1.864 MB / 0.9324 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.6944, allocations: 57.7 kB / 0.9324 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.6957, allocations: 2.123 MB / 0.9345 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.6962, allocations: 0.5507 MB / 0.935 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006416/0.6969, allocations: 403.7 kB / 0.9354 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.697, allocations: 305.1 kB / 0.9357 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.6986, allocations: 1.062 MB / 0.9367 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.7006, allocations: 1.76 MB / 0.9384 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/0.7043, allocations: 3.052 MB / 0.9414 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.7043, allocations: 4 kB / 0.9414 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006202/0.7105, allocations: 3.932 MB / 0.9453 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.7105, allocations: 13 kB / 0.9453 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.7106, allocations: 24 kB / 0.9453 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.7129, allocations: 0.9233 MB / 0.9462 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.7144, allocations: 431.2 kB / 0.9466 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/0.7335, allocations: 22.76 MB / 0.9688 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.7354, allocations: 119.9 kB / 0.969 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.7356, allocations: 92 kB / 0.969 GB, free: 13.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002476/0.7381, allocations: 1.661 MB / 0.9707 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/0.7385, allocations: 253.1 kB / 0.9709 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005055/0.7436, allocations: 3.264 MB / 0.9741 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.7436, allocations: 27.88 kB / 0.9741 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.7436, allocations: 8 kB / 0.9741 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.7436, allocations: 7.969 kB / 0.9741 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.7548, allocations: 7.545 MB / 0.9815 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.7549, allocations: 4 kB / 0.9815 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008369/0.7557, allocations: 219.6 kB / 0.9817 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002169/0.7579, allocations: 0.8887 MB / 0.9826 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.758, allocations: 39.98 kB / 0.9826 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/0.7769, allocations: 22.73 MB / 1.005 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.7769, allocations: 7.938 kB / 1.005 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/0.7822, allocations: 3.375 MB / 1.008 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.7833, allocations: 0.5292 MB / 1.009 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.7835, allocations: 32 kB / 1.009 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/0.7845, allocations: 91.83 kB / 1.009 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/0.7849, allocations: 144.9 kB / 1.009 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.785, allocations: 48 kB / 1.009 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001549/0.7865, allocations: 1.225 MB / 1.01 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7865, allocations: 4 kB / 1.01 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002471/0.789, allocations: 0.9062 MB / 1.011 GB, free: 0.6523 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.0002375/0.7892, allocations: 157.1 kB / 1.011 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005856/0.7951, allocations: 4.436 MB / 1.016 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.7951, allocations: 4.25 kB / 1.016 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003745/0.7989, allocations: 2.988 MB / 1.018 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/0.802, allocations: 0.8228 MB / 1.019 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.8139, allocations: 7.573 MB / 1.027 GB, free: 304 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/0.8169, allocations: 3.213 MB / 1.03 GB, free: 13.05 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001613/0.8185, allocations: 0.5293 MB / 1.03 GB, free: 12.52 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.8189, allocations: 147.4 kB / 1.03 GB, free: 12.38 MB / 0.795 GB Notification: Performance of SimCode: time 1.152e-06/0.8189, allocations: 0 / 1.03 GB, free: 12.38 MB / 0.795 GB Notification: Performance of Templates: time 0.06835/0.8872, allocations: 41.64 MB / 1.071 GB, free: 3.363 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)