Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001301/0.001301, allocations: 191 kB / 17.2 MB, free: 5.59 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00258/0.00258, allocations: 281.7 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.191/1.191, allocations: 178.5 MB / 0.5079 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 99.84 kB / 0.6071 GB, free: 9.258 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1712, allocations: 89.13 MB / 0.6942 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.2748/0.4461, allocations: 26.65 MB / 0.7202 GB, free: 39.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.4565, allocations: 8.074 MB / 0.7281 GB, free: 34.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.4582, allocations: 115.4 kB / 0.7282 GB, free: 34.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005357/0.4636, allocations: 2.76 MB / 0.7309 GB, free: 32.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.4667, allocations: 1.588 MB / 0.7324 GB, free: 32.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.4698, allocations: 1.676 MB / 0.7341 GB, free: 31.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00456/0.4743, allocations: 6.135 MB / 0.7401 GB, free: 28.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006032/0.4804, allocations: 7.432 MB / 0.7473 GB, free: 25.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.4837, allocations: 2.553 MB / 0.7498 GB, free: 24.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.4873, allocations: 2.833 MB / 0.7526 GB, free: 22.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.4884, allocations: 0.5087 MB / 0.7531 GB, free: 22.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.491, allocations: 1.286 MB / 0.7543 GB, free: 22.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001801/0.4928, allocations: 2.048 MB / 0.7563 GB, free: 21.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003556/0.4964, allocations: 2.382 MB / 0.7587 GB, free: 20.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00881/0.5052, allocations: 8.004 MB / 0.7665 GB, free: 17.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5053, allocations: 0 / 0.7665 GB, free: 17.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5053, allocations: 1.156 kB / 0.7665 GB, free: 17.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002135/0.5055, allocations: 0 / 0.7665 GB, free: 17.73 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009308/0.5148, allocations: 4.222 MB / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5148, allocations: 9.625 kB / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/0.5191, allocations: 0.8057 MB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004556/0.5237, allocations: 2.429 MB / 0.7738 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.5238, allocations: 263.2 kB / 0.774 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007446/0.5246, allocations: 381.7 kB / 0.7744 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009574/0.5342, allocations: 5.993 MB / 0.7802 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.416e-05/0.5343, allocations: 19.91 kB / 0.7803 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000412/0.5347, allocations: 163.1 kB / 0.7804 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005842/0.5353, allocations: 282.4 kB / 0.7807 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007313/0.5426, allocations: 4.519 MB / 0.7851 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/0.5699, allocations: 27.67 MB / 0.8121 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.5717, allocations: 1.121 MB / 0.8132 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.5731, allocations: 1.015 MB / 0.8142 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.58e-05/0.5732, allocations: 12.94 kB / 0.8142 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.5732, allocations: 55.55 kB / 0.8143 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/0.5732, allocations: 0 / 0.8143 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.02296/0.5962, allocations: 9.656 MB / 0.8237 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.5963, allocations: 64.72 kB / 0.8238 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.5983, allocations: 1.494 MB / 0.8252 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.5984, allocations: 53.7 kB / 0.8253 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.5997, allocations: 1.671 MB / 0.8269 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/0.6001, allocations: 469.3 kB / 0.8273 GB, free: 292 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005531/0.6006, allocations: 331.1 kB / 0.8277 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6008, allocations: 313 kB / 0.828 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.6022, allocations: 0.9096 MB / 0.8288 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.604, allocations: 1.467 MB / 0.8303 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.6075, allocations: 2.546 MB / 0.8328 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.6075, allocations: 4 kB / 0.8328 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006091/0.6136, allocations: 3.289 MB / 0.836 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.6137, allocations: 13.09 kB / 0.836 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.6137, allocations: 16 kB / 0.836 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/0.6161, allocations: 0.7418 MB / 0.8367 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.6177, allocations: 383.4 kB / 0.8371 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/0.6356, allocations: 17.06 MB / 0.8538 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.6374, allocations: 99.91 kB / 0.8538 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.6375, allocations: 76 kB / 0.8539 GB, free: 3.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002343/0.6399, allocations: 1.313 MB / 0.8552 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.6403, allocations: 205.5 kB / 0.8554 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/0.6456, allocations: 2.784 MB / 0.8581 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.6456, allocations: 16 kB / 0.8581 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.6456, allocations: 4 kB / 0.8581 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.6456, allocations: 7.969 kB / 0.8581 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.6564, allocations: 6.221 MB / 0.8642 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.6564, allocations: 8.094 kB / 0.8642 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.6577, allocations: 231.6 kB / 0.8644 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/0.6598, allocations: 0.671 MB / 0.8651 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.6599, allocations: 32 kB / 0.8651 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01719/0.6771, allocations: 16.79 MB / 0.8815 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.6771, allocations: 16 kB / 0.8815 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006773/0.6839, allocations: 3.996 MB / 0.8855 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.6851, allocations: 458.6 kB / 0.8859 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.6853, allocations: 40.11 kB / 0.8859 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.6863, allocations: 79.89 kB / 0.886 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.6866, allocations: 120.7 kB / 0.8861 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.6867, allocations: 40 kB / 0.8862 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00144/0.6882, allocations: 0.9981 MB / 0.8871 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6882, allocations: 0 / 0.8871 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002486/0.6907, allocations: 0.6875 MB / 0.8878 GB, free: 14.92 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003003/0.691, allocations: 152 kB / 0.8879 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007209/0.6982, allocations: 4.1 MB / 0.892 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6982, allocations: 0 / 0.892 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003412/0.7017, allocations: 2.292 MB / 0.8942 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/0.7048, allocations: 0.6784 MB / 0.8949 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.7167, allocations: 7.039 MB / 0.9017 GB, free: 368 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/0.7198, allocations: 2.722 MB / 0.9044 GB, free: 13.61 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.7204, allocations: 127.4 kB / 0.9045 GB, free: 13.48 MB / 0.67 GB Notification: Performance of SimCode: time 7.82e-07/0.7205, allocations: 0 / 0.9045 GB, free: 13.48 MB / 0.67 GB Notification: Performance of Templates: time 0.4338/1.154, allocations: 209.6 MB / 1.109 GB, free: 166.9 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)