Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001015/0.001015, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001039/0.001039, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.738/1.738, allocations: 251.9 MB / 0.51 GB, free: 4.887 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00057/0.00057, allocations: 19.12 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6744, allocations: 106.3 MB / 0.728 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03352/0.708, allocations: 28.71 MB / 0.756 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.7277, allocations: 9.848 MB / 0.7656 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004352/0.7321, allocations: 127.2 kB / 0.7658 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.7348, allocations: 0.6289 MB / 0.7664 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006318/0.7412, allocations: 1.262 MB / 0.7676 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005597/0.7468, allocations: 1.283 MB / 0.7689 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009034/0.7559, allocations: 3.429 MB / 0.7722 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01809/0.774, allocations: 10.31 MB / 0.7823 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005203/0.7792, allocations: 1.974 MB / 0.7842 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004712/0.784, allocations: 1.981 MB / 0.7861 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008887/0.7849, allocations: 268 kB / 0.7864 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.7878, allocations: 0.6944 MB / 0.7871 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.7901, allocations: 1.871 MB / 0.7889 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.7917, allocations: 0.9563 MB / 0.7898 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.802, allocations: 8.219 MB / 0.7979 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8021, allocations: 0 / 0.7979 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.105e-06/0.8021, allocations: 0 / 0.7979 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003877/0.8025, allocations: 0 / 0.7979 GB, free: 3.828 MB / 0.6075 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.01318/0.8157, allocations: 4.027 MB / 0.8018 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.8157, allocations: 8.031 kB / 0.8018 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006483/0.8222, allocations: 0.9185 MB / 0.8027 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009489/0.8318, allocations: 2.8 MB / 0.8054 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004847/0.8323, allocations: 345.3 kB / 0.8058 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002511/0.8348, allocations: 463.9 kB / 0.8062 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/0.8591, allocations: 7.592 MB / 0.8136 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000422/0.8596, allocations: 27.77 kB / 0.8136 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/0.8621, allocations: 203.9 kB / 0.8138 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005761/0.8627, allocations: 316.9 kB / 0.8141 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.8786, allocations: 5.671 MB / 0.8197 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05159/0.9302, allocations: 35.13 MB / 0.854 GB, free: 6.648 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/0.9334, allocations: 2.148 MB / 0.8561 GB, free: 4.375 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.9336, allocations: 25.3 kB / 0.8561 GB, free: 4.352 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.9337, allocations: 51.81 kB / 0.8562 GB, free: 4.293 MB / 0.67 GB Notification: Performance of pre-optimization done (n=133): time 3.176e-06/0.9337, allocations: 0 / 0.8562 GB, free: 4.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.01543/0.9491, allocations: 7.069 MB / 0.8631 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.9492, allocations: 68.72 kB / 0.8631 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.9518, allocations: 1.472 MB / 0.8646 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.9519, allocations: 45.7 kB / 0.8646 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.954, allocations: 1.996 MB / 0.8666 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006854/0.9547, allocations: 497 kB / 0.867 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.9549, allocations: 36 kB / 0.8671 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002558/0.9551, allocations: 385.8 kB / 0.8674 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.9567, allocations: 0.9057 MB / 0.8683 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.959, allocations: 1.589 MB / 0.8699 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.961, allocations: 1.174 MB / 0.871 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.161e-05/0.9611, allocations: 8 kB / 0.871 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006513/0.9676, allocations: 3.511 MB / 0.8744 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.9677, allocations: 18.59 kB / 0.8745 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/0.9677, allocations: 24 kB / 0.8745 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/0.9703, allocations: 0.8921 MB / 0.8754 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.9715, allocations: 351.4 kB / 0.8757 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/0.9914, allocations: 21.54 MB / 0.8967 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.9933, allocations: 103.9 kB / 0.8968 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.9935, allocations: 84.06 kB / 0.8969 GB, free: 8.188 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003245/0.9967, allocations: 1.617 MB / 0.8985 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/0.9972, allocations: 205.5 kB / 0.8987 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/1.002, allocations: 2.971 MB / 0.9016 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.002, allocations: 16 kB / 0.9016 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/1.002, allocations: 11.95 kB / 0.9016 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.002, allocations: 11.97 kB / 0.9016 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.015, allocations: 7.317 MB / 0.9088 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.015, allocations: 7.938 kB / 0.9088 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/1.016, allocations: 175.7 kB / 0.9089 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/1.018, allocations: 0.8226 MB / 0.9097 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.018, allocations: 28 kB / 0.9098 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6053/1.624, allocations: 20.63 MB / 0.9299 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/1.624, allocations: 12.09 kB / 0.9299 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007113/1.631, allocations: 3.306 MB / 0.9332 GB, free: 163 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.632, allocations: 466 kB / 0.9336 GB, free: 162.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/1.633, allocations: 27.38 kB / 0.9336 GB, free: 162.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/1.633, allocations: 73.55 kB / 0.9337 GB, free: 162.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005495/1.634, allocations: 122.3 kB / 0.9338 GB, free: 162.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.634, allocations: 36.03 kB / 0.9338 GB, free: 162.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002059/1.636, allocations: 0.9613 MB / 0.9348 GB, free: 162.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.636, allocations: 0.5625 kB / 0.9348 GB, free: 162.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004216/1.64, allocations: 0.7872 MB / 0.9356 GB, free: 162.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/1.641, allocations: 146.6 kB / 0.9357 GB, free: 162.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006893/1.648, allocations: 4.005 MB / 0.9396 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.648, allocations: 0 / 0.9396 GB, free: 159.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003308/1.651, allocations: 2.741 MB / 0.9423 GB, free: 158 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/1.654, allocations: 0.636 MB / 0.9429 GB, free: 157.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/1.668, allocations: 8.735 MB / 0.9514 GB, free: 153 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003141/1.671, allocations: 3.187 MB / 0.9545 GB, free: 151.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00178/1.673, allocations: 455.8 kB / 0.955 GB, free: 151.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/1.673, allocations: 113.7 kB / 0.9551 GB, free: 151.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.214e-06/1.673, allocations: 4 kB / 0.9551 GB, free: 151.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.05445/1.728, allocations: 33.13 MB / 0.9874 GB, free: 123.8 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: