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.006972/0.006972, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001599/0.001599, allocations: 200.8 kB / 16.68 MB, free: 5.965 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 / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001999, allocations: 271 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 95.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.155, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.3326/0.4875, allocations: 22.59 MB / 0.7885 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008929/0.4965, allocations: 6.214 MB / 0.7945 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.4983, allocations: 98.03 kB / 0.7946 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003711/0.502, allocations: 1.546 MB / 0.7961 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.5065, allocations: 1.615 MB / 0.7977 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.5099, allocations: 1.358 MB / 0.799 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006463/0.5163, allocations: 5.942 MB / 0.8048 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007383/0.5237, allocations: 6.047 MB / 0.8107 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.5276, allocations: 2.409 MB / 0.8131 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003729/0.5314, allocations: 2.868 MB / 0.8159 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006218/0.532, allocations: 462.7 kB / 0.8163 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.5343, allocations: 1.097 MB / 0.8174 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.5364, allocations: 2.036 MB / 0.8194 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002222/0.5386, allocations: 2.167 MB / 0.8215 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006824/0.5454, allocations: 7.321 MB / 0.8287 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5454, allocations: 0 / 0.8287 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5455, allocations: 1.344 kB / 0.8287 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001307/0.5456, allocations: 0 / 0.8287 GB, free: 14.76 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.006748/0.5523, allocations: 3.903 MB / 0.8325 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5524, allocations: 17.17 kB / 0.8325 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/0.5584, allocations: 1.231 MB / 0.8337 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.562, allocations: 2.353 MB / 0.836 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.5622, allocations: 242.8 kB / 0.8362 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.5627, allocations: 309.7 kB / 0.8365 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008555/0.5712, allocations: 6.216 MB / 0.8426 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/0.5713, allocations: 11.88 kB / 0.8426 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003564/0.5717, allocations: 143.9 kB / 0.8427 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004391/0.5721, allocations: 406.3 kB / 0.8431 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006519/0.5787, allocations: 4.658 MB / 0.8477 GB, free: 300 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.02522/0.6039, allocations: 29 MB / 0.876 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.6057, allocations: 1.417 MB / 0.8774 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.6075, allocations: 1.48 MB / 0.8788 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.6076, allocations: 13 kB / 0.8788 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.6076, allocations: 51.48 kB / 0.8789 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 5.059e-06/0.6077, allocations: 0 / 0.8789 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=179): time 0.1434/0.751, allocations: 37.3 MB / 0.9153 GB, free: 8.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.7511, allocations: 69.41 kB / 0.9154 GB, free: 8.148 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.7529, allocations: 1.427 MB / 0.9168 GB, free: 6.715 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.753, allocations: 57.7 kB / 0.9168 GB, free: 6.652 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009355/0.754, allocations: 1.582 MB / 0.9184 GB, free: 5.059 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.7545, allocations: 0.639 MB / 0.919 GB, free: 4.414 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007152/0.7552, allocations: 383.5 kB / 0.9194 GB, free: 4.031 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.7553, allocations: 305.1 kB / 0.9196 GB, free: 3.73 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.7577, allocations: 1.788 MB / 0.9214 GB, free: 1.938 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.7604, allocations: 2.346 MB / 0.9237 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/0.7657, allocations: 4.391 MB / 0.928 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.7657, allocations: 8 kB / 0.928 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01699/0.7827, allocations: 8.572 MB / 0.9364 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.7827, allocations: 12 kB / 0.9364 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.7828, allocations: 20 kB / 0.9364 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01447/0.7972, allocations: 4.634 MB / 0.9409 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.7985, allocations: 299.5 kB / 0.9412 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04552/0.8441, allocations: 32.64 MB / 0.9731 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.8465, allocations: 151.8 kB / 0.9732 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/0.8469, allocations: 80 kB / 0.9733 GB, free: 11.4 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.003245/0.8501, allocations: 1.337 MB / 0.9746 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/0.8507, allocations: 210.7 kB / 0.9748 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/0.8678, allocations: 8.433 MB / 0.983 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.8678, allocations: 16 kB / 0.983 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/0.8678, allocations: 27.94 kB / 0.9831 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.8678, allocations: 7.969 kB / 0.9831 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02302/0.8909, allocations: 12.85 MB / 0.9956 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.8909, allocations: 8 kB / 0.9956 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.8916, allocations: 163.7 kB / 0.9958 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01388/0.9054, allocations: 4.489 MB / 1 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.9056, allocations: 36 kB / 1 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0467/0.9523, allocations: 32.23 MB / 1.032 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.9524, allocations: 11.94 kB / 1.032 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01748/0.9699, allocations: 8.245 MB / 1.04 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.9713, allocations: 0.6284 MB / 1.04 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005509/0.9718, allocations: 32 kB / 1.04 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.9736, allocations: 139.8 kB / 1.041 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007512/0.9743, allocations: 168.9 kB / 1.041 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.9745, allocations: 52 kB / 1.041 GB, free: 5.094 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001465/0.976, allocations: 0.9548 MB / 1.042 GB, free: 4.145 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.976, allocations: 7.938 kB / 1.042 GB, free: 4.137 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00445/0.9805, allocations: 1.121 MB / 1.043 GB, free: 3.016 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.0003887/0.9809, allocations: 147.1 kB / 1.043 GB, free: 2.863 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01209/0.9929, allocations: 6.566 MB / 1.049 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.993, allocations: 0 / 1.049 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008939/1.002, allocations: 4.374 MB / 1.054 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/1.005, allocations: 0.524 MB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.018, allocations: 6.906 MB / 1.061 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004029/1.022, allocations: 2.727 MB / 1.064 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001124/1.023, allocations: 392.5 kB / 1.064 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/1.024, allocations: 95.42 kB / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of SimCode: time 9.42e-07/1.024, allocations: 0 / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of Templates: time 0.4572/1.481, allocations: 61.13 MB / 1.124 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)