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.004924/0.004924, allocations: 98.06 kB / 15.73 MB, free: 6.008 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.001164/0.001164, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 282.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 95.84 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4189, allocations: 86.97 MB / 0.7664 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03773/0.4567, allocations: 34.83 MB / 0.8004 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.4739, allocations: 11.49 MB / 0.8116 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.4763, allocations: 163.2 kB / 0.8118 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009904/0.4862, allocations: 4.249 MB / 0.8159 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.4915, allocations: 1.99 MB / 0.8179 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005811/0.4973, allocations: 2.406 MB / 0.8202 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009284/0.5066, allocations: 8.464 MB / 0.8285 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0145/0.5212, allocations: 11.12 MB / 0.8394 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.5264, allocations: 3.743 MB / 0.843 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005941/0.5323, allocations: 4.179 MB / 0.8471 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.5344, allocations: 0.7812 MB / 0.8479 GB, free: 212 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/0.5391, allocations: 2.028 MB / 0.8498 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004028/0.5431, allocations: 3.06 MB / 0.8528 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006151/0.5493, allocations: 3.396 MB / 0.8562 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.5623, allocations: 12.02 MB / 0.8679 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.5623, allocations: 0 / 0.8679 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5623, allocations: 4 kB / 0.8679 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003219/0.5626, allocations: 0 / 0.8679 GB, free: 11.64 MB / 0.6387 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.01195/0.5746, allocations: 5.942 MB / 0.8737 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5746, allocations: 12.03 kB / 0.8737 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/0.5803, allocations: 1.082 MB / 0.8748 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005447/0.5857, allocations: 3.467 MB / 0.8781 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.586, allocations: 419.4 kB / 0.8785 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008308/0.5869, allocations: 0.5354 MB / 0.8791 GB, free: 56 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.6008, allocations: 9.083 MB / 0.8879 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.601, allocations: 27.78 kB / 0.888 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005382/0.6015, allocations: 247.9 kB / 0.8882 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000318/0.6018, allocations: 346.7 kB / 0.8885 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.6125, allocations: 6.83 MB / 0.8952 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03789/0.6504, allocations: 39.85 MB / 0.9341 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003792/0.6543, allocations: 3.108 MB / 0.9372 GB, free: 404 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.6568, allocations: 1.986 MB / 0.9391 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.657, allocations: 18 kB / 0.9391 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.657, allocations: 56.55 kB / 0.9392 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.589e-06/0.657, allocations: 0 / 0.9392 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02334/0.6804, allocations: 10.05 MB / 0.949 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.6804, allocations: 73.39 kB / 0.9491 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.6826, allocations: 1.519 MB / 0.9505 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.6827, allocations: 53.7 kB / 0.9506 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.6842, allocations: 2.327 MB / 0.9529 GB, free: 132 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/0.6848, allocations: 0.6586 MB / 0.9535 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006164/0.6854, allocations: 412.1 kB / 0.9539 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6855, allocations: 312.9 kB / 0.9542 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.6872, allocations: 1.175 MB / 0.9553 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.6893, allocations: 1.885 MB / 0.9572 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/0.6933, allocations: 3.375 MB / 0.9605 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.6934, allocations: 8 kB / 0.9605 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007213/0.7006, allocations: 4.586 MB / 0.965 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.7006, allocations: 12 kB / 0.965 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.7007, allocations: 28.12 kB / 0.965 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/0.7043, allocations: 1.579 MB / 0.9665 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7055, allocations: 355.3 kB / 0.9669 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3262/1.032, allocations: 18.6 MB / 0.9851 GB, free: 172.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.033, allocations: 118 kB / 0.9852 GB, free: 172.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/1.033, allocations: 91.03 kB / 0.9853 GB, free: 172.2 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 (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.002124/1.035, allocations: 1.897 MB / 0.9871 GB, free: 171.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/1.036, allocations: 239.6 kB / 0.9873 GB, free: 171.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005529/1.041, allocations: 4.095 MB / 0.9913 GB, free: 169.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.041, allocations: 18.97 kB / 0.9913 GB, free: 169.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.041, allocations: 17.94 kB / 0.9914 GB, free: 169.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.041, allocations: 11.25 kB / 0.9914 GB, free: 169.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.052, allocations: 9.456 MB / 1.001 GB, free: 165.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.052, allocations: 3.812 kB / 1.001 GB, free: 165.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007009/1.053, allocations: 188.8 kB / 1.001 GB, free: 165.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/1.056, allocations: 1.351 MB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.056, allocations: 36 kB / 1.002 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/1.071, allocations: 17.37 MB / 1.019 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.071, allocations: 11.94 kB / 1.019 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/1.076, allocations: 4.075 MB / 1.023 GB, free: 142.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006816/1.077, allocations: 0.5469 MB / 1.024 GB, free: 142.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/1.077, allocations: 36.98 kB / 1.024 GB, free: 142.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000843/1.078, allocations: 83.89 kB / 1.024 GB, free: 142 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/1.078, allocations: 173.6 kB / 1.024 GB, free: 141.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/1.078, allocations: 48 kB / 1.024 GB, free: 141.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009473/1.079, allocations: 1.001 MB / 1.025 GB, free: 140.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.079, allocations: 0 / 1.025 GB, free: 140.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002203/1.081, allocations: 0.9844 MB / 1.026 GB, free: 139.8 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 (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.0001852/1.082, allocations: 147.1 kB / 1.026 GB, free: 139.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004834/1.086, allocations: 4.31 MB / 1.03 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.086, allocations: 0 / 1.03 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003005/1.089, allocations: 2.678 MB / 1.033 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.092, allocations: 0.7859 MB / 1.034 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.102, allocations: 8.743 MB / 1.042 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/1.105, allocations: 3.576 MB / 1.046 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001021/1.106, allocations: 463.9 kB / 1.046 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/1.106, allocations: 119.4 kB / 1.046 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of SimCode: time 5.72e-07/1.106, allocations: 0 / 1.046 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.05354/1.16, allocations: 44.64 MB / 1.09 GB, free: 74.68 MB / 0.7325 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)