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.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001342/0.001342, allocations: 195 kB / 16.14 MB, free: 6.723 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 286.7 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 102.4 kB / 0.6057 GB, free: 25.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1888, allocations: 89.16 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02438/0.2133, allocations: 20.08 MB / 0.7124 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.225, allocations: 6.446 MB / 0.7187 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.2269, allocations: 79.56 kB / 0.7188 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005022/0.2319, allocations: 2.08 MB / 0.7208 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.235, allocations: 1.12 MB / 0.7219 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.2385, allocations: 1.166 MB / 0.723 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007517/0.246, allocations: 6.979 MB / 0.7299 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008711/0.2547, allocations: 6.172 MB / 0.7359 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.2577, allocations: 1.779 MB / 0.7376 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.2607, allocations: 2.387 MB / 0.74 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005282/0.2612, allocations: 288 kB / 0.7402 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.2633, allocations: 1.033 MB / 0.7412 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.265, allocations: 1.532 MB / 0.7427 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.2673, allocations: 1.758 MB / 0.7445 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006608/0.2739, allocations: 6.411 MB / 0.7507 GB, free: 9.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/0.274, allocations: 3.984 kB / 0.7507 GB, free: 9.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.274, allocations: 0 / 0.7507 GB, free: 9.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000102/0.2741, allocations: 4 kB / 0.7507 GB, free: 9.305 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00688/0.281, allocations: 3.453 MB / 0.7541 GB, free: 5.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.281, allocations: 8.031 kB / 0.7541 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.2844, allocations: 0.6332 MB / 0.7547 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.2879, allocations: 1.947 MB / 0.7566 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.2881, allocations: 222.3 kB / 0.7568 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004579/0.2885, allocations: 288.4 kB / 0.7571 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3042/0.5928, allocations: 4.889 MB / 0.7619 GB, free: 62.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-05/0.5929, allocations: 21.81 kB / 0.7619 GB, free: 62.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.5932, allocations: 122.8 kB / 0.762 GB, free: 61.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004939/0.5937, allocations: 232.2 kB / 0.7622 GB, free: 61.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00686/0.6006, allocations: 3.751 MB / 0.7659 GB, free: 60.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/0.6218, allocations: 21.57 MB / 0.787 GB, free: 43.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.6236, allocations: 1.297 MB / 0.7882 GB, free: 42.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.625, allocations: 1.058 MB / 0.7893 GB, free: 42.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.6251, allocations: 14 kB / 0.7893 GB, free: 42.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.6252, allocations: 49.59 kB / 0.7893 GB, free: 42.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=107): time 3.156e-06/0.6252, allocations: 0 / 0.7893 GB, free: 42.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=138): time 0.0231/0.6483, allocations: 8.639 MB / 0.7978 GB, free: 38.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.6484, allocations: 69.81 kB / 0.7978 GB, free: 38.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.6501, allocations: 1.133 MB / 0.7989 GB, free: 37.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.781e-05/0.6502, allocations: 47.2 kB / 0.799 GB, free: 37.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.6509, allocations: 1.298 MB / 0.8003 GB, free: 36.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.6513, allocations: 481.8 kB / 0.8007 GB, free: 36.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/0.6517, allocations: 291.7 kB / 0.801 GB, free: 35.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.6518, allocations: 305.1 kB / 0.8013 GB, free: 35.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.6532, allocations: 0.9113 MB / 0.8022 GB, free: 35.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.6548, allocations: 1.329 MB / 0.8035 GB, free: 34.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.6577, allocations: 2.43 MB / 0.8058 GB, free: 32.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.6577, allocations: 3.156 kB / 0.8059 GB, free: 32.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006065/0.6638, allocations: 3.464 MB / 0.8092 GB, free: 30.61 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.6639, allocations: 12.16 kB / 0.8092 GB, free: 30.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.6639, allocations: 11.25 kB / 0.8093 GB, free: 30.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/0.667, allocations: 1.183 MB / 0.8104 GB, free: 30.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.6679, allocations: 259.5 kB / 0.8107 GB, free: 30.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.6807, allocations: 12.72 MB / 0.8231 GB, free: 20.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6822, allocations: 96.62 kB / 0.8232 GB, free: 20.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.6823, allocations: 66.12 kB / 0.8232 GB, free: 20.65 MB / 0.545 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.001582/0.6839, allocations: 1.114 MB / 0.8243 GB, free: 19.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.6841, allocations: 162.1 kB / 0.8245 GB, free: 19.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004592/0.6887, allocations: 3.169 MB / 0.8276 GB, free: 16.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.6887, allocations: 20 kB / 0.8276 GB, free: 16.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.6888, allocations: 15.94 kB / 0.8276 GB, free: 16.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.6888, allocations: 3.984 kB / 0.8276 GB, free: 16.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008594/0.6974, allocations: 6.239 MB / 0.8337 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6974, allocations: 4 kB / 0.8337 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.6979, allocations: 152.3 kB / 0.8339 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/0.7004, allocations: 1.074 MB / 0.8349 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/0.7005, allocations: 28 kB / 0.8349 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.7147, allocations: 12.41 MB / 0.847 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.7147, allocations: 8 kB / 0.8471 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006114/0.7208, allocations: 3.162 MB / 0.8501 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/0.7219, allocations: 419.1 kB / 0.8505 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.7221, allocations: 35.92 kB / 0.8506 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.7228, allocations: 83.89 kB / 0.8507 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/0.7232, allocations: 120.7 kB / 0.8508 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/0.7233, allocations: 40 kB / 0.8508 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001163/0.7245, allocations: 0.7671 MB / 0.8516 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7245, allocations: 3.938 kB / 0.8516 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002477/0.727, allocations: 0.6562 MB / 0.8522 GB, free: 6.336 MB / 0.5606 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.0002656/0.7273, allocations: 143.1 kB / 0.8523 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005468/0.7327, allocations: 3.119 MB / 0.8554 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.7328, allocations: 0.75 kB / 0.8554 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003298/0.7361, allocations: 1.953 MB / 0.8573 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.7385, allocations: 476.2 kB / 0.8577 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7494, allocations: 6.746 MB / 0.8643 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.7522, allocations: 2.336 MB / 0.8666 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001325/0.7536, allocations: 354.1 kB / 0.867 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.7538, allocations: 83.44 kB / 0.867 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.7538, allocations: 4 kB / 0.867 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of Templates: time 0.0595/0.8133, allocations: 31.67 MB / 0.898 GB, free: 7.762 MB / 0.6075 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)