Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007993/0.008, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001992/0.001992, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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: 283.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9482/0.9482, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 87.86 kB / 0.6815 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4514, allocations: 86.97 MB / 0.7664 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03395/0.4854, allocations: 32.6 MB / 0.7982 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.5023, allocations: 10.28 MB / 0.8083 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004383/0.5067, allocations: 147.2 kB / 0.8084 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009146/0.5159, allocations: 3.716 MB / 0.812 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.521, allocations: 1.854 MB / 0.8138 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.5262, allocations: 2.126 MB / 0.8159 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008226/0.5345, allocations: 7.333 MB / 0.8231 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009966/0.5445, allocations: 9.404 MB / 0.8323 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/0.5489, allocations: 3.17 MB / 0.8354 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/0.5534, allocations: 3.481 MB / 0.8388 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009454/0.5543, allocations: 0.6445 MB / 0.8394 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.5577, allocations: 1.779 MB / 0.8411 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002388/0.5601, allocations: 2.542 MB / 0.8436 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003395/0.5635, allocations: 2.898 MB / 0.8464 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.5764, allocations: 10.13 MB / 0.8563 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.5764, allocations: 8 kB / 0.8563 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5765, allocations: 0 / 0.8563 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000322/0.5768, allocations: 3.938 kB / 0.8563 GB, free: 7.426 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01055/0.5873, allocations: 5.124 MB / 0.8614 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5874, allocations: 12.03 kB / 0.8614 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.5924, allocations: 0.9774 MB / 0.8623 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004878/0.5973, allocations: 3.067 MB / 0.8653 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.5976, allocations: 349.7 kB / 0.8656 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006752/0.5983, allocations: 456.3 kB / 0.8661 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.61, allocations: 7.671 MB / 0.8736 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.6101, allocations: 27.83 kB / 0.8736 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/0.6106, allocations: 200 kB / 0.8738 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000303/0.6109, allocations: 313 kB / 0.8741 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008332/0.6192, allocations: 5.71 MB / 0.8797 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03246/0.6517, allocations: 34.89 MB / 0.9137 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.6543, allocations: 2.15 MB / 0.9158 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.6558, allocations: 1.276 MB / 0.9171 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.673e-05/0.6559, allocations: 13.31 kB / 0.9171 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.6559, allocations: 47.88 kB / 0.9171 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 2.886e-06/0.6559, allocations: 4 kB / 0.9171 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01242/0.6684, allocations: 7.146 MB / 0.9241 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.6684, allocations: 64.72 kB / 0.9242 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.6702, allocations: 1.48 MB / 0.9256 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.534e-05/0.6703, allocations: 49.7 kB / 0.9257 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.6714, allocations: 2.065 MB / 0.9277 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.6718, allocations: 0.5074 MB / 0.9282 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/0.6722, allocations: 351.3 kB / 0.9285 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.6723, allocations: 305.1 kB / 0.9288 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.6735, allocations: 0.9135 MB / 0.9297 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.6752, allocations: 1.593 MB / 0.9313 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.6782, allocations: 2.737 MB / 0.9339 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.6782, allocations: 8 kB / 0.9339 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005635/0.6839, allocations: 3.539 MB / 0.9374 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.6839, allocations: 16 kB / 0.9374 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.6839, allocations: 20 kB / 0.9374 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.6864, allocations: 0.9154 MB / 0.9383 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6875, allocations: 343.4 kB / 0.9387 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/0.7069, allocations: 23.11 MB / 0.9612 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.7085, allocations: 104 kB / 0.9613 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.7086, allocations: 88 kB / 0.9614 GB, free: 5.25 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002273/0.7109, allocations: 1.606 MB / 0.963 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.7113, allocations: 222.6 kB / 0.9632 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/0.7162, allocations: 2.99 MB / 0.9661 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.7163, allocations: 16 kB / 0.9661 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.7163, allocations: 8 kB / 0.9661 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.7163, allocations: 7.969 kB / 0.9661 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3717/1.088, allocations: 7.333 MB / 0.9733 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.088, allocations: 5.203 kB / 0.9733 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007659/1.089, allocations: 177.3 kB / 0.9735 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/1.091, allocations: 0.8207 MB / 0.9743 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/1.091, allocations: 25.72 kB / 0.9743 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/1.106, allocations: 21.97 MB / 0.9958 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.106, allocations: 3.938 kB / 0.9958 GB, free: 160.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/1.11, allocations: 3.034 MB / 0.9987 GB, free: 159.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007379/1.111, allocations: 472.1 kB / 0.9992 GB, free: 159.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/1.111, allocations: 29.48 kB / 0.9992 GB, free: 159.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/1.112, allocations: 74.67 kB / 0.9993 GB, free: 159.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/1.112, allocations: 126.4 kB / 0.9994 GB, free: 159.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-05/1.112, allocations: 36.09 kB / 0.9994 GB, free: 159 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00116/1.113, allocations: 0.9755 MB / 1 GB, free: 158.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.113, allocations: 0 / 1 GB, free: 158.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002585/1.116, allocations: 0.788 MB / 1.001 GB, free: 158.6 MB / 0.7325 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/1.116, allocations: 148.3 kB / 1.001 GB, free: 158.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004641/1.121, allocations: 4.03 MB / 1.005 GB, free: 156.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.121, allocations: 11.5 kB / 1.005 GB, free: 156.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002835/1.124, allocations: 2.738 MB / 1.008 GB, free: 154.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/1.126, allocations: 0.7544 MB / 1.009 GB, free: 154 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009403/1.136, allocations: 7.206 MB / 1.016 GB, free: 147.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/1.138, allocations: 3.108 MB / 1.019 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001129/1.139, allocations: 454 kB / 1.019 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/1.14, allocations: 119.4 kB / 1.019 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.021e-06/1.14, allocations: 3.938 kB / 1.019 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.04751/1.187, allocations: 36.27 MB / 1.055 GB, free: 108.3 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)