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.004948/0.004948, allocations: 101.9 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.001103/0.001104, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 287 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 99.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1727, allocations: 86.97 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3801/0.5529, allocations: 34.82 MB / 0.8004 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02202/0.5749, allocations: 11.5 MB / 0.8116 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004546/0.5795, allocations: 159.9 kB / 0.8118 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.5908, allocations: 4.255 MB / 0.8159 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007782/0.5986, allocations: 2.092 MB / 0.818 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009111/0.6077, allocations: 2.404 MB / 0.8203 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01382/0.6215, allocations: 8.482 MB / 0.8286 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0162/0.6378, allocations: 11.12 MB / 0.8395 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007468/0.6453, allocations: 3.799 MB / 0.8432 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007755/0.6531, allocations: 4.188 MB / 0.8473 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002453/0.6555, allocations: 0.7808 MB / 0.848 GB, free: 228 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005964/0.6615, allocations: 2.028 MB / 0.85 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003902/0.6654, allocations: 3.06 MB / 0.853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005429/0.6709, allocations: 3.404 MB / 0.8563 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.6863, allocations: 11.97 MB / 0.868 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.6864, allocations: 4 kB / 0.868 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6864, allocations: 0 / 0.868 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003815/0.6868, allocations: 0 / 0.868 GB, free: 11.7 MB / 0.6231 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.01402/0.7008, allocations: 5.799 MB / 0.8737 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7009, allocations: 12.03 kB / 0.8737 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.7068, allocations: 1.06 MB / 0.8747 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006356/0.7132, allocations: 3.453 MB / 0.8781 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.7135, allocations: 415.5 kB / 0.8785 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.7146, allocations: 0.5354 MB / 0.879 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.731, allocations: 9.083 MB / 0.8879 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.7312, allocations: 35.67 kB / 0.8879 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005535/0.7318, allocations: 232 kB / 0.8882 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003336/0.7321, allocations: 346.8 kB / 0.8885 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.7449, allocations: 6.826 MB / 0.8952 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04283/0.7878, allocations: 39.79 MB / 0.934 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.7915, allocations: 3.12 MB / 0.9371 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/0.7942, allocations: 1.974 MB / 0.939 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.402e-05/0.7943, allocations: 18 kB / 0.939 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.7943, allocations: 56.56 kB / 0.9391 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=179): time 3.737e-06/0.7943, allocations: 0 / 0.9391 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.02561/0.8199, allocations: 9.985 MB / 0.9488 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.8201, allocations: 73.34 kB / 0.9489 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/0.8223, allocations: 1.534 MB / 0.9504 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.8225, allocations: 53.7 kB / 0.9504 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.824, allocations: 2.246 MB / 0.9526 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006194/0.8246, allocations: 0.6316 MB / 0.9532 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000573/0.8252, allocations: 411.9 kB / 0.9536 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8253, allocations: 305.1 kB / 0.9539 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.8269, allocations: 1.172 MB / 0.9551 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.8289, allocations: 1.889 MB / 0.9569 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00406/0.833, allocations: 3.364 MB / 0.9602 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.833, allocations: 12 kB / 0.9602 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007534/0.8406, allocations: 4.581 MB / 0.9647 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.8406, allocations: 12 kB / 0.9647 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.8407, allocations: 27.98 kB / 0.9647 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003659/0.8443, allocations: 1.578 MB / 0.9663 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.8456, allocations: 359.3 kB / 0.9666 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/0.8685, allocations: 18.58 MB / 0.9848 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.8705, allocations: 111.9 kB / 0.9849 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.8706, allocations: 104 kB / 0.985 GB, free: 14.21 MB / 0.7481 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.003404/0.8741, allocations: 1.899 MB / 0.9868 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/0.8745, allocations: 225.3 kB / 0.987 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006846/0.8813, allocations: 4.091 MB / 0.991 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.8814, allocations: 16 kB / 0.991 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-05/0.8814, allocations: 20 kB / 0.9911 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.8814, allocations: 11.95 kB / 0.9911 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.8965, allocations: 9.457 MB / 1 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.8965, allocations: 4 kB / 1 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/0.8974, allocations: 183.7 kB / 1 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003327/0.9007, allocations: 1.353 MB / 1.002 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.9008, allocations: 32 kB / 1.002 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02159/0.9224, allocations: 17.36 MB / 1.019 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9225, allocations: 4 kB / 1.019 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006905/0.9294, allocations: 4.074 MB / 1.023 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.9305, allocations: 0.5295 MB / 1.023 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.9308, allocations: 39.98 kB / 1.023 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.9317, allocations: 83.89 kB / 1.023 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005103/0.9322, allocations: 165.7 kB / 1.024 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.9324, allocations: 48 kB / 1.024 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001425/0.9338, allocations: 1.005 MB / 1.025 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9338, allocations: 0 / 1.025 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003164/0.937, allocations: 0.9882 MB / 1.026 GB, free: 3.633 MB / 0.7794 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.0002637/0.9372, allocations: 147.1 kB / 1.026 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006827/0.9441, allocations: 4.296 MB / 1.03 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.9441, allocations: 4 kB / 1.03 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004355/0.9485, allocations: 2.662 MB / 1.032 GB, free: 12.42 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.9519, allocations: 0.7878 MB / 1.033 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.9678, allocations: 8.583 MB / 1.042 GB, free: 3.016 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004166/0.972, allocations: 3.569 MB / 1.045 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001412/0.9734, allocations: 471.8 kB / 1.046 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.9737, allocations: 115.4 kB / 1.046 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of SimCode: time 7.31e-07/0.9737, allocations: 0 / 1.046 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.0743/1.048, allocations: 44.63 MB / 1.089 GB, free: 2.664 MB / 0.8419 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)