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.001496/0.001496, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001356/0.001356, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002204/0.002204, allocations: 286.9 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.9551/0.9551, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4868, allocations: 86.96 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02285/0.5097, allocations: 20.24 MB / 0.7868 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.5215, allocations: 6.449 MB / 0.7931 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.5239, allocations: 83.62 kB / 0.7932 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005873/0.5298, allocations: 2.234 MB / 0.7954 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.5336, allocations: 1.181 MB / 0.7965 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.5373, allocations: 1.293 MB / 0.7978 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006266/0.5436, allocations: 4.854 MB / 0.8025 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006722/0.5503, allocations: 5.59 MB / 0.808 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.5538, allocations: 2.127 MB / 0.8101 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.5577, allocations: 2.333 MB / 0.8123 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009707/0.5587, allocations: 432 kB / 0.8128 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.561, allocations: 1.003 MB / 0.8137 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.5626, allocations: 1.665 MB / 0.8154 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002335/0.5649, allocations: 1.914 MB / 0.8172 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006543/0.5715, allocations: 6.517 MB / 0.8236 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.5715, allocations: 8 kB / 0.8236 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5715, allocations: 0 / 0.8236 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001424/0.5717, allocations: 0 / 0.8236 GB, free: 9.77 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.006921/0.5786, allocations: 3.458 MB / 0.827 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5787, allocations: 8.031 kB / 0.827 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.5821, allocations: 0.641 MB / 0.8276 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/0.5857, allocations: 2.037 MB / 0.8296 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.5859, allocations: 226.3 kB / 0.8298 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/0.5864, allocations: 296.2 kB / 0.8301 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008356/0.5948, allocations: 4.894 MB / 0.8349 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-05/0.5949, allocations: 11.84 kB / 0.8349 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.5952, allocations: 132 kB / 0.835 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004218/0.5957, allocations: 225.7 kB / 0.8352 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006266/0.6019, allocations: 3.75 MB / 0.8389 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02204/0.624, allocations: 21.39 MB / 0.8598 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.6257, allocations: 1.309 MB / 0.8611 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.6271, allocations: 1.053 MB / 0.8621 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.463e-05/0.6272, allocations: 13 kB / 0.8621 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.6272, allocations: 47.56 kB / 0.8622 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.945e-06/0.6272, allocations: 4 kB / 0.8622 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02402/0.6513, allocations: 8.656 MB / 0.8706 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.6513, allocations: 68.72 kB / 0.8707 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.6528, allocations: 1.13 MB / 0.8718 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.653, allocations: 53.7 kB / 0.8718 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000763/0.6537, allocations: 1.3 MB / 0.8731 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000402/0.6541, allocations: 481.1 kB / 0.8736 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004398/0.6546, allocations: 291.3 kB / 0.8738 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.6547, allocations: 305.1 kB / 0.8741 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.6559, allocations: 0.9135 MB / 0.875 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.6574, allocations: 1.326 MB / 0.8763 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.6603, allocations: 2.43 MB / 0.8787 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6603, allocations: 4 kB / 0.8787 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006279/0.6666, allocations: 3.464 MB / 0.8821 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.6666, allocations: 12 kB / 0.8821 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.6667, allocations: 16.16 kB / 0.8821 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/0.67, allocations: 1.18 MB / 0.8833 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.6712, allocations: 255.6 kB / 0.8835 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/0.6899, allocations: 13.85 MB / 0.897 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.6913, allocations: 83.98 kB / 0.8971 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.6915, allocations: 67.98 kB / 0.8972 GB, free: 11.19 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.001835/0.6933, allocations: 1.112 MB / 0.8983 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003205/0.6936, allocations: 162.1 kB / 0.8984 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005973/0.6996, allocations: 3.169 MB / 0.9015 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.6997, allocations: 16 kB / 0.9015 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/0.6997, allocations: 15.94 kB / 0.9015 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.6997, allocations: 11.95 kB / 0.9015 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.7102, allocations: 6.245 MB / 0.9076 GB, free: 304 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.7102, allocations: 4.562 kB / 0.9076 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.7108, allocations: 151.8 kB / 0.9078 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.7138, allocations: 1.078 MB / 0.9088 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.7139, allocations: 28 kB / 0.9089 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0216/0.7355, allocations: 13.53 MB / 0.9221 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/0.7356, allocations: 8 kB / 0.9221 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006335/0.7419, allocations: 3.15 MB / 0.9252 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007905/0.7427, allocations: 423.1 kB / 0.9256 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.743, allocations: 39.94 kB / 0.9256 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/0.7438, allocations: 79.89 kB / 0.9257 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/0.7441, allocations: 120.7 kB / 0.9258 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.7442, allocations: 40 kB / 0.9258 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001005/0.7453, allocations: 0.767 MB / 0.9266 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7453, allocations: 4 kB / 0.9266 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001907/0.7472, allocations: 0.6602 MB / 0.9272 GB, free: 11.7 MB / 0.7012 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.000246/0.7474, allocations: 139.1 kB / 0.9274 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004836/0.7523, allocations: 3.13 MB / 0.9304 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.7523, allocations: 7.875 kB / 0.9304 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003064/0.7554, allocations: 1.96 MB / 0.9323 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.7576, allocations: 0.4955 MB / 0.9328 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/0.767, allocations: 5.801 MB / 0.9385 GB, free: 12 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/0.7695, allocations: 2.395 MB / 0.9408 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.7699, allocations: 95.38 kB / 0.9409 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.7699, allocations: 0 / 0.9409 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.4805/1.25, allocations: 79.62 MB / 1.019 GB, free: 151.2 MB / 0.7325 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)