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.001026/0.001026, allocations: 105 kB / 15.98 MB, free: 6.355 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.001093/0.001093, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.261/1.261, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 287.9 kB / 291 MB, free: 14.65 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.885/0.885, allocations: 169.2 MB / 0.4985 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 89.8 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1752, allocations: 86.98 MB / 0.6803 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3448/0.5201, allocations: 34.51 MB / 0.714 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02109/0.5412, allocations: 11.4 MB / 0.7251 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.5461, allocations: 148.2 kB / 0.7253 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.5574, allocations: 3.999 MB / 0.7292 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007359/0.5648, allocations: 1.829 MB / 0.7309 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00734/0.5722, allocations: 2.183 MB / 0.7331 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01178/0.584, allocations: 8.486 MB / 0.7414 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02115/0.6052, allocations: 13.44 MB / 0.7545 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007121/0.6123, allocations: 3.801 MB / 0.7582 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006998/0.6193, allocations: 4.382 MB / 0.7625 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002811/0.6222, allocations: 0.7851 MB / 0.7632 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006106/0.6283, allocations: 2.021 MB / 0.7652 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004649/0.633, allocations: 3.06 MB / 0.7682 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005403/0.6384, allocations: 3.396 MB / 0.7715 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.6493, allocations: 10.27 MB / 0.7816 GB, free: 8.762 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6494, allocations: 0 / 0.7816 GB, free: 8.762 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6494, allocations: 0 / 0.7816 GB, free: 8.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003044/0.6497, allocations: 0 / 0.7816 GB, free: 8.762 MB / 0.545 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.01302/0.6627, allocations: 5.795 MB / 0.7872 GB, free: 2.895 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6627, allocations: 12.03 kB / 0.7872 GB, free: 2.883 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006093/0.6688, allocations: 1.056 MB / 0.7883 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005885/0.6748, allocations: 3.262 MB / 0.7914 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.6751, allocations: 411.5 kB / 0.7918 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.6763, allocations: 0.5431 MB / 0.7924 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.694, allocations: 9.083 MB / 0.8012 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001826/0.6942, allocations: 27.78 kB / 0.8013 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008399/0.695, allocations: 228 kB / 0.8015 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003445/0.6954, allocations: 350.8 kB / 0.8018 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.7081, allocations: 6.83 MB / 0.8085 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04016/0.7483, allocations: 40.11 MB / 0.8477 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.752, allocations: 3.113 MB / 0.8507 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.7546, allocations: 1.962 MB / 0.8526 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.7547, allocations: 25.88 kB / 0.8526 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.7548, allocations: 52.56 kB / 0.8527 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=179): time 5.601e-06/0.7548, allocations: 3.984 kB / 0.8527 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=182): time 0.02363/0.7784, allocations: 9.977 MB / 0.8624 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.7785, allocations: 73.41 kB / 0.8625 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.7804, allocations: 1.526 MB / 0.864 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.7807, allocations: 57.7 kB / 0.864 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.7819, allocations: 2.253 MB / 0.8662 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006028/0.7825, allocations: 0.6277 MB / 0.8669 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/0.7831, allocations: 403.9 kB / 0.8672 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7833, allocations: 305.1 kB / 0.8675 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.7848, allocations: 1.179 MB / 0.8687 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.7869, allocations: 1.889 MB / 0.8705 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/0.7909, allocations: 3.367 MB / 0.8738 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.7909, allocations: 4 kB / 0.8738 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007345/0.7983, allocations: 4.584 MB / 0.8783 GB, free: 496 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.7983, allocations: 18.34 kB / 0.8783 GB, free: 480 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.7984, allocations: 20 kB / 0.8783 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003661/0.802, allocations: 1.594 MB / 0.8799 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.8032, allocations: 355.3 kB / 0.8802 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.8254, allocations: 18.6 MB / 0.8984 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.827, allocations: 120.4 kB / 0.8985 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.8272, allocations: 95.94 kB / 0.8986 GB, free: 11.14 MB / 0.67 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.002681/0.8299, allocations: 1.898 MB / 0.9005 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.8303, allocations: 221.4 kB / 0.9007 GB, free: 9.012 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006544/0.8368, allocations: 4.094 MB / 0.9047 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.8369, allocations: 24 kB / 0.9047 GB, free: 4.867 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-05/0.8369, allocations: 16 kB / 0.9047 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.8369, allocations: 7.969 kB / 0.9047 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.8515, allocations: 9.47 MB / 0.914 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.8515, allocations: 4 kB / 0.914 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007989/0.8524, allocations: 183.7 kB / 0.9141 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/0.8557, allocations: 1.367 MB / 0.9155 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.8559, allocations: 36 kB / 0.9155 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.877, allocations: 17.36 MB / 0.9325 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8771, allocations: 8 kB / 0.9325 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006603/0.8837, allocations: 4.069 MB / 0.9364 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.8848, allocations: 0.5295 MB / 0.937 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/0.8851, allocations: 36 kB / 0.937 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008736/0.886, allocations: 83.89 kB / 0.9371 GB, free: 2.77 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/0.8864, allocations: 169.6 kB / 0.9372 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.8865, allocations: 48 kB / 0.9373 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001272/0.8878, allocations: 1.005 MB / 0.9383 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.663e-06/0.8878, allocations: 0 / 0.9383 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002732/0.8906, allocations: 0.9882 MB / 0.9392 GB, free: 0.5391 MB / 0.7012 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.0002522/0.8908, allocations: 147.1 kB / 0.9394 GB, free: 396 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008249/0.8991, allocations: 5.194 MB / 0.9444 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8991, allocations: 0 / 0.9444 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004396/0.9035, allocations: 2.666 MB / 0.947 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.9068, allocations: 0.7966 MB / 0.9478 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2545/1.161, allocations: 11.77 MB / 0.9593 GB, free: 223.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005019/1.166, allocations: 3.666 MB / 0.9629 GB, free: 222.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/1.167, allocations: 126.7 kB / 0.963 GB, free: 222.9 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/1.167, allocations: 0 / 0.963 GB, free: 222.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.1221/1.289, allocations: 159.4 MB / 1.119 GB, free: 92.8 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)