Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.000955, allocations: 100.1 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.001091/0.001092, 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.485/1.485, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0005478/0.0005479, allocations: 14.84 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2401, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03272/0.2728, allocations: 30.67 MB / 0.8171 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.2899, allocations: 11.04 MB / 0.8279 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.2923, allocations: 131.2 kB / 0.828 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.2941, allocations: 0.6988 MB / 0.8287 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.2984, allocations: 1.324 MB / 0.83 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.3023, allocations: 1.457 MB / 0.8314 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005662/0.308, allocations: 3.874 MB / 0.8352 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01892/0.3269, allocations: 12.55 MB / 0.8474 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005218/0.3322, allocations: 2.293 MB / 0.8497 GB, free: 11.71 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003744/0.336, allocations: 2.367 MB / 0.852 GB, free: 9.336 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007259/0.3367, allocations: 328 kB / 0.8523 GB, free: 9.016 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.3389, allocations: 0.8232 MB / 0.8531 GB, free: 8.191 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.3411, allocations: 2.245 MB / 0.8553 GB, free: 5.941 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002417/0.3435, allocations: 1.108 MB / 0.8564 GB, free: 4.824 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.3588, allocations: 9.775 MB / 0.8659 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3589, allocations: 0 / 0.8659 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3589, allocations: 0 / 0.8659 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004023/0.3593, allocations: 0 / 0.8659 GB, free: 11.02 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01103/0.3703, allocations: 4.683 MB / 0.8705 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3704, allocations: 8.031 kB / 0.8705 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005857/0.3762, allocations: 1.024 MB / 0.8715 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007277/0.3835, allocations: 3.196 MB / 0.8746 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.3839, allocations: 419.1 kB / 0.875 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/0.3855, allocations: 0.535 MB / 0.8755 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0207/0.4062, allocations: 8.985 MB / 0.8843 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.4064, allocations: 31.62 kB / 0.8843 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007273/0.4071, allocations: 240 kB / 0.8846 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003587/0.4075, allocations: 346.8 kB / 0.8849 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.423, allocations: 6.791 MB / 0.8915 GB, free: 324 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5112/0.9342, allocations: 40.17 MB / 0.9308 GB, free: 104.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.9379, allocations: 3.102 MB / 0.9338 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.938, allocations: 20.48 kB / 0.9338 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.9381, allocations: 52.95 kB / 0.9339 GB, free: 104 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.527e-06/0.9381, allocations: 2 kB / 0.9339 GB, free: 104 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02443/0.9625, allocations: 9.859 MB / 0.9435 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.9626, allocations: 71.75 kB / 0.9435 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.965, allocations: 1.512 MB / 0.945 GB, free: 101.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.9652, allocations: 55.11 kB / 0.9451 GB, free: 101.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.9668, allocations: 2.251 MB / 0.9473 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006108/0.9674, allocations: 0.6361 MB / 0.9479 GB, free: 99.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.9675, allocations: 45.12 kB / 0.9479 GB, free: 99.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9677, allocations: 398.4 kB / 0.9483 GB, free: 99.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.9698, allocations: 1.167 MB / 0.9495 GB, free: 98.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.9716, allocations: 1.87 MB / 0.9513 GB, free: 97.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.9735, allocations: 1.51 MB / 0.9528 GB, free: 96.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.9735, allocations: 5.281 kB / 0.9528 GB, free: 96.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006718/0.9803, allocations: 4.556 MB / 0.9572 GB, free: 95.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.9803, allocations: 14.38 kB / 0.9572 GB, free: 95.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/0.9804, allocations: 21.66 kB / 0.9572 GB, free: 95.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003498/0.9839, allocations: 1.591 MB / 0.9588 GB, free: 94.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.985, allocations: 355.1 kB / 0.9591 GB, free: 94.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/1.003, allocations: 17.69 MB / 0.9764 GB, free: 82.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/1.005, allocations: 118.7 kB / 0.9765 GB, free: 82.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/1.005, allocations: 92.44 kB / 0.9766 GB, free: 82.88 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002855/1.008, allocations: 1.9 MB / 0.9785 GB, free: 81.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/1.008, allocations: 223.5 kB / 0.9787 GB, free: 81.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/1.014, allocations: 4.072 MB / 0.9827 GB, free: 79.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.014, allocations: 21.83 kB / 0.9827 GB, free: 79.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/1.014, allocations: 22.39 kB / 0.9827 GB, free: 79.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.014, allocations: 7.969 kB / 0.9827 GB, free: 79.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.027, allocations: 9.447 MB / 0.9919 GB, free: 73.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.027, allocations: 3.25 kB / 0.9919 GB, free: 73.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007487/1.028, allocations: 177.1 kB / 0.9921 GB, free: 73.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002901/1.031, allocations: 1.351 MB / 0.9934 GB, free: 72.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/1.031, allocations: 40.86 kB / 0.9935 GB, free: 72.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.046, allocations: 16.54 MB / 1.01 GB, free: 55.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.046, allocations: 4 kB / 1.01 GB, free: 55.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/1.052, allocations: 4.35 MB / 1.014 GB, free: 51.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.053, allocations: 0.5334 MB / 1.014 GB, free: 50.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/1.053, allocations: 32 kB / 1.014 GB, free: 50.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008404/1.054, allocations: 91.84 kB / 1.015 GB, free: 50.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/1.055, allocations: 161.7 kB / 1.015 GB, free: 50.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/1.055, allocations: 47.95 kB / 1.015 GB, free: 50.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00107/1.056, allocations: 0.989 MB / 1.016 GB, free: 49.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/1.056, allocations: 0 / 1.016 GB, free: 49.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002888/1.059, allocations: 0.9883 MB / 1.017 GB, free: 48.2 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002628/1.059, allocations: 147 kB / 1.017 GB, free: 48.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005425/1.064, allocations: 4.288 MB / 1.021 GB, free: 43.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.064, allocations: 4.094 kB / 1.021 GB, free: 43.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00327/1.068, allocations: 2.672 MB / 1.024 GB, free: 41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.07, allocations: 0.6803 MB / 1.024 GB, free: 40.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.082, allocations: 10.52 MB / 1.035 GB, free: 29.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/1.085, allocations: 3.664 MB / 1.038 GB, free: 26.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001431/1.086, allocations: 463.9 kB / 1.039 GB, free: 25.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/1.087, allocations: 115.4 kB / 1.039 GB, free: 25.48 MB / 0.7325 GB Notification: Performance of SimCode: time 1.863e-06/1.087, allocations: 0 / 1.039 GB, free: 25.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.06047/1.147, allocations: 40.81 MB / 1.079 GB, free: 1.129 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) Environment - environmentSimulation: