Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 196 kB / 16.53 MB, free: 6.699 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 287.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9381/0.9381, allocations: 169.2 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 102.8 kB / 0.5952 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1489, allocations: 86.98 MB / 0.6802 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03782/0.1868, allocations: 34.82 MB / 0.7142 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.2042, allocations: 11.5 MB / 0.7254 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.207, allocations: 159.2 kB / 0.7256 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.2172, allocations: 4.247 MB / 0.7297 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005853/0.2231, allocations: 1.994 MB / 0.7317 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005842/0.2289, allocations: 2.403 MB / 0.734 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009105/0.2381, allocations: 8.464 MB / 0.7423 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.015/0.2531, allocations: 11.22 MB / 0.7532 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005157/0.2583, allocations: 3.728 MB / 0.7569 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005728/0.264, allocations: 4.187 MB / 0.761 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.266, allocations: 0.7773 MB / 0.7617 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/0.2706, allocations: 2.02 MB / 0.7637 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004145/0.2747, allocations: 3.06 MB / 0.7667 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006018/0.2808, allocations: 3.396 MB / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.5108/0.7916, allocations: 11.91 MB / 0.7816 GB, free: 39.25 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7916, allocations: 0 / 0.7816 GB, free: 39.25 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7916, allocations: 2.562 kB / 0.7816 GB, free: 39.25 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0003535/0.792, allocations: 0 / 0.7816 GB, free: 39.25 MB / 0.5607 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.0183/0.8103, allocations: 5.792 MB / 0.7873 GB, free: 37.24 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.8103, allocations: 11.31 kB / 0.7873 GB, free: 37.24 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007154/0.8175, allocations: 1.06 MB / 0.7883 GB, free: 36.94 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007047/0.8245, allocations: 3.261 MB / 0.7915 GB, free: 36.29 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/0.8248, allocations: 412.8 kB / 0.7919 GB, free: 36.27 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/0.8265, allocations: 0.5401 MB / 0.7924 GB, free: 36.27 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/0.8444, allocations: 9.072 MB / 0.8013 GB, free: 35.26 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/0.8446, allocations: 35.62 kB / 0.8013 GB, free: 35.25 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.8456, allocations: 235 kB / 0.8016 GB, free: 35.25 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003716/0.846, allocations: 355.8 kB / 0.8019 GB, free: 35.23 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.8604, allocations: 6.823 MB / 0.8086 GB, free: 35.19 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04131/0.9017, allocations: 40.12 MB / 0.8477 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.9052, allocations: 3.107 MB / 0.8508 GB, free: 13.01 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.9074, allocations: 1.97 MB / 0.8527 GB, free: 11.99 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/0.9075, allocations: 21.78 kB / 0.8527 GB, free: 11.99 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.9076, allocations: 51.94 kB / 0.8528 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=179): time 3.747e-06/0.9076, allocations: 0 / 0.8528 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of matching and sorting (n=182): time 0.02253/0.9301, allocations: 9.975 MB / 0.8625 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.9302, allocations: 72 kB / 0.8626 GB, free: 6.234 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.9324, allocations: 1.53 MB / 0.8641 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.9325, allocations: 53.05 kB / 0.8641 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.9338, allocations: 2.256 MB / 0.8663 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/0.9344, allocations: 0.6252 MB / 0.8669 GB, free: 2.797 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006111/0.935, allocations: 409.4 kB / 0.8673 GB, free: 2.57 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.9351, allocations: 308.7 kB / 0.8676 GB, free: 2.27 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.9366, allocations: 1.178 MB / 0.8688 GB, free: 1.652 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.9385, allocations: 1.888 MB / 0.8706 GB, free: 16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/0.9424, allocations: 3.364 MB / 0.8739 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.9425, allocations: 8 kB / 0.8739 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007249/0.9497, allocations: 4.59 MB / 0.8784 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.9498, allocations: 12 kB / 0.8784 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.9498, allocations: 24 kB / 0.8784 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/0.9534, allocations: 1.585 MB / 0.88 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.9545, allocations: 350.2 kB / 0.8803 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/0.9762, allocations: 18.61 MB / 0.8985 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.978, allocations: 115.9 kB / 0.8986 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.9782, allocations: 96 kB / 0.8987 GB, free: 2.742 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002964/0.9812, allocations: 1.894 MB / 0.9005 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/0.9817, allocations: 229.3 kB / 0.9008 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006736/0.9884, allocations: 4.093 MB / 0.9048 GB, free: 12.58 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.9884, allocations: 16 kB / 0.9048 GB, free: 12.56 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.271e-05/0.9885, allocations: 20 kB / 0.9048 GB, free: 12.54 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.9885, allocations: 7.969 kB / 0.9048 GB, free: 12.54 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/1.005, allocations: 9.474 MB / 0.914 GB, free: 2.934 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.005, allocations: 4 kB / 0.914 GB, free: 2.93 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/1.006, allocations: 188.2 kB / 0.9142 GB, free: 2.762 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/1.009, allocations: 1.364 MB / 0.9156 GB, free: 1.391 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/1.009, allocations: 36 kB / 0.9156 GB, free: 1.355 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/1.029, allocations: 17.37 MB / 0.9326 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.029, allocations: 4 kB / 0.9326 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/1.036, allocations: 4.077 MB / 0.9365 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.037, allocations: 0.5257 MB / 0.9371 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/1.037, allocations: 32 kB / 0.9371 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.039, allocations: 91.89 kB / 0.9372 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/1.039, allocations: 164.3 kB / 0.9373 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.039, allocations: 40 kB / 0.9374 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001387/1.04, allocations: 1.005 MB / 0.9383 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/1.04, allocations: 4 kB / 0.9384 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0029/1.043, allocations: 0.9922 MB / 0.9393 GB, free: 8.484 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002388/1.044, allocations: 140.8 kB / 0.9395 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007984/1.052, allocations: 5.201 MB / 0.9445 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.052, allocations: 0 / 0.9445 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004143/1.056, allocations: 2.67 MB / 0.9471 GB, free: 500 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/1.06, allocations: 0.78 MB / 0.9479 GB, free: 15.76 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.075, allocations: 8.709 MB / 0.9564 GB, free: 6.992 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004257/1.079, allocations: 3.576 MB / 0.9599 GB, free: 3.379 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001437/1.081, allocations: 467.9 kB / 0.9603 GB, free: 2.918 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/1.081, allocations: 115.4 kB / 0.9605 GB, free: 2.805 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/1.081, allocations: 0 / 0.9605 GB, free: 2.805 MB / 0.67 GB Notification: Performance of Templates: time 0.06981/1.151, allocations: 43.92 MB / 1.003 GB, free: 7.504 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)