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.001128/0.001128, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001116/0.001116, allocations: 191 kB / 17.29 MB, free: 5.516 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 295.5 kB / 291.4 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 0.9182/0.9182, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 90.11 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1617, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.2889/0.4506, allocations: 20.23 MB / 0.7014 GB, free: 8.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00964/0.4602, allocations: 6.436 MB / 0.7077 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.4619, allocations: 84.97 kB / 0.7077 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004826/0.4667, allocations: 2.238 MB / 0.7099 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.4696, allocations: 1.18 MB / 0.7111 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.4726, allocations: 1.292 MB / 0.7123 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005833/0.4785, allocations: 4.853 MB / 0.7171 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006495/0.485, allocations: 5.6 MB / 0.7225 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.4886, allocations: 2.087 MB / 0.7246 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00353/0.4922, allocations: 2.348 MB / 0.7269 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007162/0.4929, allocations: 428.8 kB / 0.7273 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.4951, allocations: 1.001 MB / 0.7283 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.4968, allocations: 1.664 MB / 0.7299 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002314/0.4991, allocations: 1.916 MB / 0.7318 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006684/0.5058, allocations: 6.516 MB / 0.7381 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5058, allocations: 1.188 kB / 0.7381 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5058, allocations: 0 / 0.7381 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001306/0.506, allocations: 0 / 0.7381 GB, free: 3.84 MB / 0.4981 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.006966/0.513, allocations: 3.457 MB / 0.7415 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.513, allocations: 9.312 kB / 0.7415 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.5164, allocations: 0.6397 MB / 0.7421 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.5204, allocations: 2.04 MB / 0.7441 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.5206, allocations: 226.3 kB / 0.7443 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/0.521, allocations: 300.2 kB / 0.7446 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007537/0.5286, allocations: 4.89 MB / 0.7494 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.027e-05/0.5287, allocations: 7.938 kB / 0.7494 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.529, allocations: 128 kB / 0.7495 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003915/0.5294, allocations: 229.7 kB / 0.7497 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005666/0.5351, allocations: 3.754 MB / 0.7534 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/0.555, allocations: 21.4 MB / 0.7743 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.5567, allocations: 1.309 MB / 0.7756 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.558, allocations: 1.049 MB / 0.7766 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.397e-05/0.5581, allocations: 13 kB / 0.7766 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5582, allocations: 55.48 kB / 0.7767 GB, free: 11.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=107): time 2.715e-06/0.5582, allocations: 0 / 0.7767 GB, free: 11.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=138): time 0.02282/0.581, allocations: 8.645 MB / 0.7851 GB, free: 3.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.5811, allocations: 68.72 kB / 0.7852 GB, free: 3.168 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.5827, allocations: 1.13 MB / 0.7863 GB, free: 2.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.204e-05/0.5828, allocations: 49.7 kB / 0.7863 GB, free: 1.977 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007812/0.5836, allocations: 1.296 MB / 0.7876 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.584, allocations: 485 kB / 0.7881 GB, free: 188 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/0.5844, allocations: 287.3 kB / 0.7883 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.5845, allocations: 313.1 kB / 0.7886 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.5859, allocations: 0.9096 MB / 0.7895 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.5873, allocations: 1.326 MB / 0.7908 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.5903, allocations: 2.426 MB / 0.7932 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5903, allocations: 4 kB / 0.7932 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005788/0.5961, allocations: 3.472 MB / 0.7966 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.5961, allocations: 13.97 kB / 0.7966 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.5961, allocations: 12 kB / 0.7966 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/0.5992, allocations: 1.178 MB / 0.7978 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008815/0.6001, allocations: 263.5 kB / 0.798 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/0.6163, allocations: 13.83 MB / 0.8115 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.6176, allocations: 91.97 kB / 0.8116 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.6177, allocations: 67.94 kB / 0.8117 GB, free: 7.223 MB / 0.5762 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.001722/0.6194, allocations: 1.114 MB / 0.8128 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.6197, allocations: 158.1 kB / 0.8129 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00536/0.625, allocations: 3.173 MB / 0.816 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.625, allocations: 12 kB / 0.816 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.6251, allocations: 19.92 kB / 0.816 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6251, allocations: 7.922 kB / 0.816 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009734/0.6348, allocations: 6.245 MB / 0.8221 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.6348, allocations: 4 kB / 0.8221 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.6354, allocations: 152.1 kB / 0.8223 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.6382, allocations: 1.073 MB / 0.8233 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.515e-05/0.6383, allocations: 28 kB / 0.8234 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/0.6543, allocations: 13.54 MB / 0.8366 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6543, allocations: 7.938 kB / 0.8366 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/0.6595, allocations: 3.146 MB / 0.8397 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/0.6605, allocations: 427 kB / 0.8401 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.6607, allocations: 39.88 kB / 0.8401 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.6615, allocations: 79.89 kB / 0.8402 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003547/0.6618, allocations: 133 kB / 0.8403 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.882e-05/0.6619, allocations: 40 kB / 0.8404 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009778/0.6629, allocations: 0.7593 MB / 0.8411 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.583e-06/0.6629, allocations: 0 / 0.8411 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001881/0.6648, allocations: 0.6679 MB / 0.8417 GB, free: 7.707 MB / 0.6075 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 (70): * Single equations (assignments): 67 * 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,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000206/0.665, allocations: 139.1 kB / 0.8419 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004409/0.6694, allocations: 3.138 MB / 0.8449 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6695, allocations: 4.75 kB / 0.8449 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002662/0.6721, allocations: 1.939 MB / 0.8468 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.6739, allocations: 0.5067 MB / 0.8473 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.6813, allocations: 5.375 MB / 0.8526 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/0.6833, allocations: 2.332 MB / 0.8549 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007857/0.6841, allocations: 346.1 kB / 0.8552 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.6843, allocations: 95.42 kB / 0.8553 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.6843, allocations: 0 / 0.8553 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of Templates: time 0.04454/0.7288, allocations: 32.69 MB / 0.8872 GB, free: 9.43 MB / 0.6544 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)