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.001304/0.001304, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001518/0.001518, allocations: 193 kB / 16.13 MB, free: 6.668 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 275.1 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.922/0.922, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 90.66 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1521, allocations: 86.98 MB / 0.6795 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02034/0.1725, allocations: 20.08 MB / 0.6991 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009921/0.1825, allocations: 6.435 MB / 0.7053 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.184, allocations: 79.56 kB / 0.7054 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/0.1891, allocations: 2.088 MB / 0.7075 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.1921, allocations: 1.116 MB / 0.7086 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.1949, allocations: 1.166 MB / 0.7097 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006551/0.2015, allocations: 6.983 MB / 0.7165 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008302/0.2098, allocations: 6.165 MB / 0.7225 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.2124, allocations: 1.779 MB / 0.7243 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003306/0.2157, allocations: 2.395 MB / 0.7266 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008438/0.2166, allocations: 292 kB / 0.7269 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.2189, allocations: 1.03 MB / 0.7279 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.2209, allocations: 1.524 MB / 0.7294 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.2233, allocations: 1.758 MB / 0.7311 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.2283, allocations: 6.415 MB / 0.7374 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2283, allocations: 0 / 0.7374 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2283, allocations: 0 / 0.7374 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.846e-05/0.2284, allocations: 0 / 0.7374 GB, free: 5.652 MB / 0.5294 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.005819/0.2343, allocations: 3.461 MB / 0.7407 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2343, allocations: 12.03 kB / 0.7408 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.2376, allocations: 0.6332 MB / 0.7414 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.2407, allocations: 1.94 MB / 0.7433 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.2408, allocations: 226.2 kB / 0.7435 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004648/0.2413, allocations: 292.3 kB / 0.7438 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007161/0.2485, allocations: 4.886 MB / 0.7485 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.78e-05/0.2486, allocations: 23.83 kB / 0.7486 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/0.2489, allocations: 128 kB / 0.7487 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004051/0.2493, allocations: 229.7 kB / 0.7489 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005654/0.2549, allocations: 3.746 MB / 0.7526 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3094/0.5644, allocations: 21.56 MB / 0.7736 GB, free: 81.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.5663, allocations: 1.303 MB / 0.7749 GB, free: 81.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.5678, allocations: 1.046 MB / 0.7759 GB, free: 81.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.934e-05/0.5679, allocations: 10.69 kB / 0.7759 GB, free: 81.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.568, allocations: 49.81 kB / 0.776 GB, free: 81.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 4.388e-06/0.568, allocations: 3.156 kB / 0.776 GB, free: 81.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02297/0.591, allocations: 8.646 MB / 0.7844 GB, free: 79.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.591, allocations: 66.41 kB / 0.7845 GB, free: 79.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.5924, allocations: 1.133 MB / 0.7856 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.18e-05/0.5925, allocations: 54.11 kB / 0.7856 GB, free: 78.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/0.5932, allocations: 1.299 MB / 0.7869 GB, free: 77.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.5935, allocations: 480.2 kB / 0.7874 GB, free: 77.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.5939, allocations: 289.5 kB / 0.7876 GB, free: 77.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.594, allocations: 308.8 kB / 0.7879 GB, free: 77.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.5952, allocations: 0.9139 MB / 0.7888 GB, free: 76.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.5966, allocations: 1.325 MB / 0.7901 GB, free: 75.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.5992, allocations: 2.43 MB / 0.7925 GB, free: 74.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5992, allocations: 2.969 kB / 0.7925 GB, free: 74.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007064/0.6063, allocations: 3.466 MB / 0.7959 GB, free: 73.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.6063, allocations: 10.75 kB / 0.7959 GB, free: 73.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.6063, allocations: 12.53 kB / 0.7959 GB, free: 73.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003255/0.6096, allocations: 1.185 MB / 0.7971 GB, free: 72.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/0.6105, allocations: 256.3 kB / 0.7973 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.6244, allocations: 12.72 MB / 0.8097 GB, free: 64.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.6258, allocations: 91.47 kB / 0.8098 GB, free: 64.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.6259, allocations: 68.86 kB / 0.8099 GB, free: 64.13 MB / 0.5606 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.001513/0.6275, allocations: 1.112 MB / 0.811 GB, free: 63.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.6277, allocations: 168.7 kB / 0.8111 GB, free: 63.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/0.6322, allocations: 3.167 MB / 0.8142 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.6322, allocations: 18.22 kB / 0.8142 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.6323, allocations: 9.812 kB / 0.8142 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.6323, allocations: 13.56 kB / 0.8142 GB, free: 61.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007936/0.6402, allocations: 6.254 MB / 0.8204 GB, free: 57.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.6402, allocations: 5.031 kB / 0.8204 GB, free: 57.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.6407, allocations: 143.8 kB / 0.8205 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00253/0.6433, allocations: 1.077 MB / 0.8216 GB, free: 57.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/0.6434, allocations: 28 kB / 0.8216 GB, free: 57.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/0.655, allocations: 12.4 MB / 0.8337 GB, free: 44.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.655, allocations: 11.94 kB / 0.8337 GB, free: 44.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/0.6592, allocations: 3.156 MB / 0.8368 GB, free: 41.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/0.6599, allocations: 427.1 kB / 0.8372 GB, free: 40.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.6601, allocations: 28 kB / 0.8372 GB, free: 40.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.6608, allocations: 83.89 kB / 0.8373 GB, free: 40.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/0.6611, allocations: 122.4 kB / 0.8374 GB, free: 40.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.6612, allocations: 44 kB / 0.8375 GB, free: 40.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007944/0.662, allocations: 0.7671 MB / 0.8382 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.662, allocations: 0 / 0.8382 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001723/0.6637, allocations: 0.6562 MB / 0.8388 GB, free: 39.16 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.0001862/0.6639, allocations: 143 kB / 0.839 GB, free: 39.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003759/0.6677, allocations: 3.119 MB / 0.842 GB, free: 35.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6677, allocations: 0 / 0.842 GB, free: 35.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.6699, allocations: 1.951 MB / 0.8439 GB, free: 33.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.6718, allocations: 471.8 kB / 0.8444 GB, free: 33.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007338/0.6791, allocations: 6.75 MB / 0.851 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.6807, allocations: 2.339 MB / 0.8533 GB, free: 24.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009201/0.6816, allocations: 355.8 kB / 0.8536 GB, free: 23.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.6818, allocations: 83.44 kB / 0.8537 GB, free: 23.84 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.6818, allocations: 0 / 0.8537 GB, free: 23.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.03991/0.7217, allocations: 31.67 MB / 0.8846 GB, free: 8.645 MB / 0.5762 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)