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.0009721/0.0009722, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.0009612/0.0009612, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.218/1.218, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 289.9 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8932/0.8932, allocations: 169.2 MB / 0.4985 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 95.69 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1484, allocations: 86.98 MB / 0.6803 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.2574/0.4059, allocations: 20.07 MB / 0.6999 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.4155, allocations: 6.393 MB / 0.7061 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.4172, allocations: 78.84 kB / 0.7062 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004607/0.4218, allocations: 2.098 MB / 0.7083 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.4248, allocations: 1.085 MB / 0.7093 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.4276, allocations: 1.174 MB / 0.7105 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005517/0.4331, allocations: 4.865 MB / 0.7152 GB, free: 24 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009983/0.4431, allocations: 6.764 MB / 0.7218 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003822/0.447, allocations: 2.112 MB / 0.7239 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.4509, allocations: 2.459 MB / 0.7263 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008121/0.4518, allocations: 429.4 kB / 0.7267 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.454, allocations: 1.006 MB / 0.7277 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.4557, allocations: 1.672 MB / 0.7293 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002526/0.4583, allocations: 1.908 MB / 0.7312 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005167/0.4634, allocations: 5.563 MB / 0.7366 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4635, allocations: 0 / 0.7366 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.626e-06/0.4635, allocations: 4 kB / 0.7366 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001273/0.4636, allocations: 5.031 kB / 0.7366 GB, free: 4.699 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.007344/0.471, allocations: 3.448 MB / 0.74 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.471, allocations: 9.156 kB / 0.74 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003436/0.4744, allocations: 0.6442 MB / 0.7406 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004143/0.4786, allocations: 1.935 MB / 0.7425 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.4788, allocations: 226.3 kB / 0.7427 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006549/0.4795, allocations: 292.3 kB / 0.743 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008016/0.4875, allocations: 4.89 MB / 0.7478 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.741e-05/0.4876, allocations: 7.938 kB / 0.7478 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.4879, allocations: 132 kB / 0.7479 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003998/0.4883, allocations: 229.7 kB / 0.7481 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005871/0.4942, allocations: 3.75 MB / 0.7518 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.5175, allocations: 21.56 MB / 0.7729 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.5194, allocations: 1.317 MB / 0.7741 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.5209, allocations: 1.042 MB / 0.7752 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.521, allocations: 13 kB / 0.7752 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.5211, allocations: 51.48 kB / 0.7752 GB, free: 12.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=107): time 2.856e-06/0.5211, allocations: 0 / 0.7752 GB, free: 12.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=138): time 0.02453/0.5456, allocations: 8.649 MB / 0.7837 GB, free: 4.238 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.5457, allocations: 72.66 kB / 0.7837 GB, free: 4.156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.5474, allocations: 1.134 MB / 0.7848 GB, free: 3.016 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.5475, allocations: 49.7 kB / 0.7849 GB, free: 2.961 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007951/0.5483, allocations: 1.296 MB / 0.7862 GB, free: 1.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000447/0.5488, allocations: 481 kB / 0.7866 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004756/0.5492, allocations: 291.3 kB / 0.7869 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.5493, allocations: 309.1 kB / 0.7872 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.5506, allocations: 0.9135 MB / 0.7881 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.5521, allocations: 1.318 MB / 0.7894 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.555, allocations: 2.433 MB / 0.7917 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.555, allocations: 0 / 0.7917 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006048/0.561, allocations: 3.471 MB / 0.7951 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.5611, allocations: 14.19 kB / 0.7951 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.5611, allocations: 12 kB / 0.7952 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.5644, allocations: 1.191 MB / 0.7963 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/0.5654, allocations: 259.5 kB / 0.7966 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/0.5829, allocations: 13.85 MB / 0.8101 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.5844, allocations: 87.97 kB / 0.8102 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.5846, allocations: 64 kB / 0.8102 GB, free: 8.188 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.002077/0.5867, allocations: 1.118 MB / 0.8113 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.5871, allocations: 158.1 kB / 0.8115 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005819/0.5929, allocations: 3.177 MB / 0.8146 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.593, allocations: 16 kB / 0.8146 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.149e-05/0.593, allocations: 15.94 kB / 0.8146 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.593, allocations: 7.969 kB / 0.8146 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.6035, allocations: 6.234 MB / 0.8207 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.6035, allocations: 8 kB / 0.8207 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.6041, allocations: 143.8 kB / 0.8208 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/0.6071, allocations: 1.08 MB / 0.8219 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.6072, allocations: 28.36 kB / 0.8219 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/0.6233, allocations: 13.54 MB / 0.8352 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.6233, allocations: 11.94 kB / 0.8352 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005167/0.6285, allocations: 3.142 MB / 0.8382 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009295/0.6295, allocations: 431 kB / 0.8386 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.6298, allocations: 35.84 kB / 0.8387 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/0.6307, allocations: 83.89 kB / 0.8388 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.6311, allocations: 120.7 kB / 0.8389 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/0.6312, allocations: 40 kB / 0.8389 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001043/0.6322, allocations: 0.7671 MB / 0.8397 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6322, allocations: 3.938 kB / 0.8397 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00214/0.6344, allocations: 0.6562 MB / 0.8403 GB, free: 8.676 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.0002355/0.6346, allocations: 147 kB / 0.8405 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005877/0.6405, allocations: 3.638 MB / 0.844 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.6405, allocations: 0 / 0.844 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.6434, allocations: 1.948 MB / 0.8459 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.646, allocations: 0.5093 MB / 0.8464 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.6567, allocations: 7.156 MB / 0.8534 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/0.6594, allocations: 2.383 MB / 0.8557 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.6599, allocations: 103.4 kB / 0.8558 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of SimCode: time 9.82e-07/0.6599, allocations: 0 / 0.8558 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of Templates: time 0.07973/0.7396, allocations: 79.45 MB / 0.9334 GB, free: 9.242 MB / 0.7012 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)