Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.0014, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001431/0.001431, allocations: 183.9 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.409/1.409, allocations: 222.9 MB / 241.1 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.002176/0.002176, allocations: 295.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 91.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4104, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02153/0.432, allocations: 20.24 MB / 0.7868 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.4424, allocations: 6.445 MB / 0.7931 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.4443, allocations: 83.62 kB / 0.7932 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00536/0.4496, allocations: 2.236 MB / 0.7954 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.4528, allocations: 1.177 MB / 0.7965 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.456, allocations: 1.294 MB / 0.7978 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005407/0.4614, allocations: 4.854 MB / 0.8025 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006417/0.4679, allocations: 5.59 MB / 0.808 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.4712, allocations: 2.115 MB / 0.8101 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003629/0.4749, allocations: 2.344 MB / 0.8124 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000713/0.4756, allocations: 431.9 kB / 0.8128 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.4778, allocations: 1.006 MB / 0.8138 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.4795, allocations: 1.665 MB / 0.8154 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.4816, allocations: 1.906 MB / 0.8172 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006284/0.4879, allocations: 6.521 MB / 0.8236 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4879, allocations: 3.938 kB / 0.8236 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4879, allocations: 0 / 0.8236 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001361/0.4881, allocations: 0 / 0.8236 GB, free: 9.801 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.0067/0.4948, allocations: 3.463 MB / 0.827 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4948, allocations: 12.03 kB / 0.827 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.4982, allocations: 0.6293 MB / 0.8276 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.5017, allocations: 2.049 MB / 0.8296 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.5018, allocations: 214.3 kB / 0.8298 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004802/0.5023, allocations: 304.2 kB / 0.8301 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008758/0.5111, allocations: 4.89 MB / 0.8349 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.463e-05/0.5112, allocations: 11.84 kB / 0.8349 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.5116, allocations: 128 kB / 0.835 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004606/0.512, allocations: 229.7 kB / 0.8352 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006566/0.5186, allocations: 3.746 MB / 0.8389 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.5413, allocations: 21.39 MB / 0.8598 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.5432, allocations: 1.313 MB / 0.8611 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.5446, allocations: 1.065 MB / 0.8621 GB, free: 36 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.5447, allocations: 13 kB / 0.8621 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.5447, allocations: 43.56 kB / 0.8622 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.906e-06/0.5447, allocations: 0 / 0.8622 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02502/0.5698, allocations: 8.664 MB / 0.8706 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.5699, allocations: 64.72 kB / 0.8707 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.5714, allocations: 1.134 MB / 0.8718 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.5715, allocations: 45.7 kB / 0.8718 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.5726, allocations: 1.296 MB / 0.8731 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.5731, allocations: 481.1 kB / 0.8736 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/0.5735, allocations: 291.3 kB / 0.8738 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.5736, allocations: 313.1 kB / 0.8741 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.5749, allocations: 0.9135 MB / 0.875 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.5765, allocations: 1.318 MB / 0.8763 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.5795, allocations: 2.437 MB / 0.8787 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.5795, allocations: 4 kB / 0.8787 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006087/0.5856, allocations: 3.467 MB / 0.8821 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5856, allocations: 8 kB / 0.8821 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.5857, allocations: 12 kB / 0.8821 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003184/0.5888, allocations: 1.188 MB / 0.8833 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009566/0.5898, allocations: 255.5 kB / 0.8835 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/0.6076, allocations: 13.85 MB / 0.897 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.609, allocations: 83.98 kB / 0.8971 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.6092, allocations: 68.36 kB / 0.8972 GB, free: 11.21 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001747/0.6109, allocations: 1.116 MB / 0.8983 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.6112, allocations: 162.1 kB / 0.8984 GB, free: 9.926 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005675/0.6169, allocations: 3.161 MB / 0.9015 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.6169, allocations: 7.969 kB / 0.9015 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6169, allocations: 4 kB / 0.9015 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/0.6177, allocations: 438.9 kB / 0.9019 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.6179, allocations: 27.94 kB / 0.902 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/0.6187, allocations: 67.91 kB / 0.902 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.6189, allocations: 153 kB / 0.9022 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007056/0.626, allocations: 3.488 MB / 0.9056 GB, free: 2.535 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004386/0.6304, allocations: 3.327 MB / 0.9088 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001347/0.6318, allocations: 1.033 MB / 0.9098 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001091/0.6329, allocations: 0.7671 MB / 0.9106 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of Backend: time 1.112e-06/0.6329, allocations: 4 kB / 0.9106 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005298/0.6382, allocations: 2.74 MB / 0.9133 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of SimCode: time 0.008346/0.6465, allocations: 5.979 MB / 0.9191 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of Templates: time 0.0555/0.702, allocations: 36.38 MB / 0.9546 GB, free: 0.6523 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)