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.00135/0.00135, allocations: 109.1 kB / 16.41 MB, free: 6.492 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.001358/0.001358, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002555/0.002555, allocations: 279.4 kB / 291.5 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 1.023/1.023, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4495, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02547/0.475, allocations: 20.28 MB / 0.7869 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.4864, allocations: 6.461 MB / 0.7932 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.4877, allocations: 83.62 kB / 0.7933 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00542/0.4931, allocations: 2.257 MB / 0.7955 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.4959, allocations: 1.24 MB / 0.7967 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.4989, allocations: 1.291 MB / 0.7979 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005769/0.5047, allocations: 4.854 MB / 0.8027 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005184/0.5098, allocations: 4.229 MB / 0.8068 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.5128, allocations: 2.123 MB / 0.8089 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002887/0.5156, allocations: 2.337 MB / 0.8112 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000552/0.5162, allocations: 428 kB / 0.8116 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.518, allocations: 1.014 MB / 0.8126 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.5196, allocations: 1.699 MB / 0.8142 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.5215, allocations: 1.914 MB / 0.8161 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00648/0.528, allocations: 6.536 MB / 0.8225 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.528, allocations: 0 / 0.8225 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.528, allocations: 0 / 0.8225 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.555e-05/0.5281, allocations: 0 / 0.8225 GB, free: 10.96 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.006629/0.5347, allocations: 3.549 MB / 0.8259 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5348, allocations: 15.97 kB / 0.826 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.5383, allocations: 0.6507 MB / 0.8266 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.5423, allocations: 2.05 MB / 0.8286 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.5425, allocations: 226.2 kB / 0.8288 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004955/0.543, allocations: 296.4 kB / 0.8291 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007598/0.5506, allocations: 4.89 MB / 0.8339 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/0.5506, allocations: 11.89 kB / 0.8339 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/0.5509, allocations: 128 kB / 0.834 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004375/0.5514, allocations: 229.7 kB / 0.8342 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.5574, allocations: 3.75 MB / 0.8379 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/0.5828, allocations: 21.44 MB / 0.8588 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.5847, allocations: 1.238 MB / 0.86 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.5861, allocations: 0.983 MB / 0.861 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.802e-05/0.5862, allocations: 20.98 kB / 0.861 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.5862, allocations: 43.56 kB / 0.861 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 2.414e-06/0.5862, allocations: 0 / 0.861 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=138): time 0.02585/0.6121, allocations: 8.653 MB / 0.8695 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.6121, allocations: 68.72 kB / 0.8696 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.6139, allocations: 1.138 MB / 0.8707 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.614, allocations: 49.7 kB / 0.8707 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009929/0.615, allocations: 1.331 MB / 0.872 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004652/0.6155, allocations: 0.4957 MB / 0.8725 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/0.616, allocations: 299.4 kB / 0.8728 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6161, allocations: 309.1 kB / 0.8731 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.6175, allocations: 0.9096 MB / 0.874 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.6192, allocations: 1.322 MB / 0.8753 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.6224, allocations: 2.43 MB / 0.8776 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.6224, allocations: 4 kB / 0.8776 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006309/0.6287, allocations: 3.437 MB / 0.881 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.6287, allocations: 12 kB / 0.881 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.6288, allocations: 12 kB / 0.881 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003333/0.6321, allocations: 1.176 MB / 0.8822 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009318/0.633, allocations: 259.5 kB / 0.8824 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/0.652, allocations: 13.85 MB / 0.8959 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.6532, allocations: 95.97 kB / 0.896 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.6533, allocations: 63.98 kB / 0.8961 GB, free: 12.33 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.001772/0.6551, allocations: 1.112 MB / 0.8972 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.6553, allocations: 167 kB / 0.8973 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/0.6614, allocations: 3.138 MB / 0.9004 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.6614, allocations: 12 kB / 0.9004 GB, free: 7.875 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.6614, allocations: 15.94 kB / 0.9004 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6614, allocations: 7.969 kB / 0.9004 GB, free: 7.852 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.6719, allocations: 6.21 MB / 0.9065 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.6719, allocations: 4 kB / 0.9065 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.6725, allocations: 147.8 kB / 0.9066 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/0.6756, allocations: 1.074 MB / 0.9077 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/0.6757, allocations: 32 kB / 0.9077 GB, free: 252 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/0.694, allocations: 13.54 MB / 0.9209 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.694, allocations: 7.938 kB / 0.921 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005533/0.6995, allocations: 3.12 MB / 0.924 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008714/0.7004, allocations: 431.9 kB / 0.9244 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.7006, allocations: 35.94 kB / 0.9244 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/0.7014, allocations: 79.89 kB / 0.9245 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.7017, allocations: 124.7 kB / 0.9246 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.694e-05/0.7018, allocations: 43.94 kB / 0.9247 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00105/0.7029, allocations: 0.7632 MB / 0.9254 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.7029, allocations: 0 / 0.9254 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001839/0.7047, allocations: 0.6641 MB / 0.9261 GB, free: 12.92 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.0002234/0.7049, allocations: 139.1 kB / 0.9262 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004846/0.7098, allocations: 3.009 MB / 0.9292 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7098, allocations: 0.75 kB / 0.9292 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003085/0.7129, allocations: 1.88 MB / 0.931 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.715, allocations: 0.4993 MB / 0.9315 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.7236, allocations: 5.459 MB / 0.9368 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/0.7261, allocations: 2.336 MB / 0.9391 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008974/0.7269, allocations: 354.1 kB / 0.9394 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.7272, allocations: 87.44 kB / 0.9395 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.7272, allocations: 0 / 0.9395 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.4207/1.148, allocations: 33.46 MB / 0.9722 GB, free: 185.6 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)