Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.00164, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001871/0.001871, allocations: 188.3 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 295.1 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 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5056, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03984/0.5455, allocations: 37.57 MB / 0.8038 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02194/0.5674, allocations: 13.04 MB / 0.8165 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/0.5711, allocations: 171.1 kB / 0.8167 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009688/0.5808, allocations: 3.871 MB / 0.8205 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007204/0.5881, allocations: 2.495 MB / 0.8229 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006657/0.5947, allocations: 2.71 MB / 0.8255 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01158/0.6063, allocations: 9.571 MB / 0.8349 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01644/0.6228, allocations: 10.49 MB / 0.8451 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007317/0.6302, allocations: 4.07 MB / 0.8491 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007635/0.6378, allocations: 4.392 MB / 0.8534 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00265/0.6405, allocations: 0.7695 MB / 0.8542 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005171/0.6457, allocations: 1.779 MB / 0.8559 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004774/0.6505, allocations: 3.04 MB / 0.8589 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006735/0.6573, allocations: 3.579 MB / 0.8624 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.6716, allocations: 11.85 MB / 0.8739 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6716, allocations: 0 / 0.8739 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6716, allocations: 0 / 0.8739 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003688/0.672, allocations: 0 / 0.8739 GB, free: 6.098 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02073/0.6927, allocations: 6.362 MB / 0.8801 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.6928, allocations: 8.031 kB / 0.8802 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.7029, allocations: 1.301 MB / 0.8814 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008684/0.7117, allocations: 3.787 MB / 0.8851 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.7121, allocations: 378.5 kB / 0.8855 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/0.7141, allocations: 0.5001 MB / 0.886 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.734, allocations: 8.882 MB / 0.8946 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/0.7342, allocations: 35.7 kB / 0.8947 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.7357, allocations: 223.9 kB / 0.8949 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.7383, allocations: 0.6304 MB / 0.8955 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.753, allocations: 7.006 MB / 0.9023 GB, free: 8.469 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05768/0.8107, allocations: 40.06 MB / 0.9415 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.8152, allocations: 2.897 MB / 0.9443 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003892/0.8191, allocations: 2.663 MB / 0.9469 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.8194, allocations: 30.03 kB / 0.9469 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/0.8194, allocations: 68.59 kB / 0.947 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.729e-06/0.8195, allocations: 0 / 0.947 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.6373/1.457, allocations: 74.69 MB / 1.02 GB, free: 151.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.457, allocations: 98.73 kB / 1.02 GB, free: 151.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/1.46, allocations: 2.359 MB / 1.022 GB, free: 149.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000609/1.46, allocations: 97.7 kB / 1.022 GB, free: 149 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009362/1.461, allocations: 2.329 MB / 1.025 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/1.463, allocations: 1.442 MB / 1.026 GB, free: 145.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/1.464, allocations: 0.7215 MB / 1.027 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.65e-05/1.464, allocations: 309.1 kB / 1.027 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/1.468, allocations: 2.995 MB / 1.03 GB, free: 141.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/1.472, allocations: 3.843 MB / 1.034 GB, free: 137 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008156/1.48, allocations: 7.384 MB / 1.041 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-05/1.48, allocations: 8 kB / 1.041 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02603/1.506, allocations: 12.56 MB / 1.053 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/1.506, allocations: 16 kB / 1.053 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/1.506, allocations: 24 kB / 1.053 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02182/1.528, allocations: 6.019 MB / 1.059 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/1.53, allocations: 496.1 kB / 1.06 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07034/1.6, allocations: 72.98 MB / 1.131 GB, free: 33.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/1.605, allocations: 219.8 kB / 1.131 GB, free: 33.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008198/1.606, allocations: 152 kB / 1.131 GB, free: 33.38 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003273/1.609, allocations: 1.992 MB / 1.133 GB, free: 31.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008957/1.61, allocations: 391.4 kB / 1.134 GB, free: 30.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02533/1.635, allocations: 12.23 MB / 1.146 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.038e-05/1.635, allocations: 19.92 kB / 1.146 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.635, allocations: 7.938 kB / 1.146 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/1.638, allocations: 1.094 MB / 1.147 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008266/1.639, allocations: 72 kB / 1.147 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.642, allocations: 183.8 kB / 1.147 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/1.643, allocations: 0.514 MB / 1.147 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0283/1.671, allocations: 12.58 MB / 1.16 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01375/1.685, allocations: 10.72 MB / 1.17 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004441/1.689, allocations: 3.501 MB / 1.174 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002224/1.691, allocations: 1.556 MB / 1.175 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of Backend: time 6.71e-07/1.691, allocations: 4 kB / 1.175 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02056/1.712, allocations: 10.37 MB / 1.185 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of SimCode: time 0.02305/1.735, allocations: 13.97 MB / 1.199 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.4989/2.234, allocations: 108.8 MB / 1.305 GB, free: 281.7 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)