Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004588/0.004588, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001059/0.001059, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 293.1 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9191/0.9191, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 99.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1582, allocations: 86.97 MB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.3363/0.4945, allocations: 22.58 MB / 0.7885 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009691/0.5042, allocations: 6.216 MB / 0.7945 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.5065, allocations: 96.69 kB / 0.7946 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004276/0.5109, allocations: 1.552 MB / 0.7961 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.5153, allocations: 1.719 MB / 0.7978 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.519, allocations: 1.35 MB / 0.7991 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007034/0.526, allocations: 5.959 MB / 0.8049 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009325/0.5353, allocations: 6.041 MB / 0.8108 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.5403, allocations: 2.448 MB / 0.8132 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006576/0.5469, allocations: 2.861 MB / 0.816 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002287/0.5492, allocations: 460.8 kB / 0.8165 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004951/0.5542, allocations: 1.106 MB / 0.8176 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004165/0.5584, allocations: 2.035 MB / 0.8195 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005293/0.5637, allocations: 2.16 MB / 0.8216 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00906/0.5728, allocations: 7.295 MB / 0.8288 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5728, allocations: 0 / 0.8288 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.847e-06/0.5728, allocations: 0 / 0.8288 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001905/0.573, allocations: 3.938 kB / 0.8288 GB, free: 14.67 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007749/0.5808, allocations: 3.815 MB / 0.8325 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5808, allocations: 9.062 kB / 0.8325 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/0.5869, allocations: 1.212 MB / 0.8337 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/0.5915, allocations: 2.338 MB / 0.836 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.5917, allocations: 239.1 kB / 0.8362 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006491/0.5923, allocations: 318.2 kB / 0.8365 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.6032, allocations: 6.21 MB / 0.8426 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/0.6034, allocations: 15.94 kB / 0.8426 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/0.6037, allocations: 143.9 kB / 0.8427 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004864/0.6042, allocations: 406.3 kB / 0.8431 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008137/0.6124, allocations: 4.658 MB / 0.8477 GB, free: 296 kB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02961/0.642, allocations: 28.96 MB / 0.8759 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.6439, allocations: 1.427 MB / 0.8773 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.6457, allocations: 1.487 MB / 0.8788 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.6458, allocations: 13 kB / 0.8788 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.6458, allocations: 43.56 kB / 0.8788 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 3.086e-06/0.6458, allocations: 0 / 0.8788 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=179): time 0.1272/0.773, allocations: 37.24 MB / 0.9152 GB, free: 8.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.7731, allocations: 77.41 kB / 0.9153 GB, free: 8.23 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.7751, allocations: 1.427 MB / 0.9167 GB, free: 6.797 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.7754, allocations: 53.7 kB / 0.9167 GB, free: 6.738 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009473/0.7763, allocations: 1.542 MB / 0.9182 GB, free: 5.176 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/0.7769, allocations: 0.6123 MB / 0.9188 GB, free: 4.555 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007234/0.7776, allocations: 379.3 kB / 0.9192 GB, free: 4.176 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.7777, allocations: 309.1 kB / 0.9195 GB, free: 3.871 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.7801, allocations: 1.788 MB / 0.9212 GB, free: 2.078 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/0.7829, allocations: 2.342 MB / 0.9235 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/0.7883, allocations: 4.387 MB / 0.9278 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.7883, allocations: 4 kB / 0.9278 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01662/0.805, allocations: 8.575 MB / 0.9362 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.805, allocations: 12 kB / 0.9362 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.8051, allocations: 16 kB / 0.9362 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/0.8189, allocations: 4.638 MB / 0.9407 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.8201, allocations: 303.5 kB / 0.941 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04539/0.8655, allocations: 32.59 MB / 0.9728 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.8676, allocations: 155.8 kB / 0.973 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.8678, allocations: 80 kB / 0.9731 GB, free: 11.58 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002329/0.8702, allocations: 1.329 MB / 0.9744 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/0.8706, allocations: 197.7 kB / 0.9746 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/0.8874, allocations: 8.445 MB / 0.9828 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/0.8875, allocations: 16 kB / 0.9828 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.144e-05/0.8876, allocations: 31.94 kB / 0.9828 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/0.8876, allocations: 7.969 kB / 0.9829 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/0.9107, allocations: 12.84 MB / 0.9954 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.9107, allocations: 4 kB / 0.9954 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/0.9113, allocations: 163.7 kB / 0.9956 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01321/0.9245, allocations: 4.491 MB / 0.9999 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.9247, allocations: 40 kB / 1 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04234/0.9671, allocations: 32.2 MB / 1.031 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.9671, allocations: 7.938 kB / 1.031 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/0.9829, allocations: 8.24 MB / 1.039 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/0.9844, allocations: 0.6118 MB / 1.04 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.9847, allocations: 43.98 kB / 1.04 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.986, allocations: 131.8 kB / 1.04 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007413/0.9867, allocations: 169 kB / 1.04 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.9869, allocations: 48 kB / 1.04 GB, free: 5.328 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001221/0.9881, allocations: 0.9588 MB / 1.041 GB, free: 4.375 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9881, allocations: 0 / 1.041 GB, free: 4.375 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00324/0.9913, allocations: 1.125 MB / 1.042 GB, free: 3.25 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002683/0.9916, allocations: 147 kB / 1.043 GB, free: 3.098 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.003, allocations: 6.555 MB / 1.049 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.003, allocations: 0 / 1.049 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00822/1.011, allocations: 4.347 MB / 1.053 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/1.013, allocations: 0.5289 MB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.025, allocations: 6.808 MB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.027, allocations: 2.731 MB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001013/1.028, allocations: 388.5 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.029, allocations: 95.44 kB / 1.064 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of SimCode: time 8.31e-07/1.029, allocations: 0 / 1.064 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.4099/1.439, allocations: 61.12 MB / 1.123 GB, free: 266.1 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)