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.001364/0.001364, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001446/0.001445, allocations: 192.2 kB / 17.29 MB, free: 5.48 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.298/1.298, allocations: 222.9 MB / 241 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.001982/0.001982, allocations: 286.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 93.83 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1897, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3251/0.5147, allocations: 34.82 MB / 0.7156 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02012/0.5349, allocations: 11.5 MB / 0.7268 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003782/0.5387, allocations: 160.3 kB / 0.727 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.5495, allocations: 4.256 MB / 0.7311 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006664/0.5562, allocations: 1.988 MB / 0.7331 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007169/0.5634, allocations: 2.4 MB / 0.7354 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.5749, allocations: 8.472 MB / 0.7437 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/0.5893, allocations: 11.13 MB / 0.7546 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006531/0.5958, allocations: 3.739 MB / 0.7582 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009158/0.605, allocations: 4.19 MB / 0.7623 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002372/0.6074, allocations: 0.7812 MB / 0.7631 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005208/0.6126, allocations: 2.021 MB / 0.7651 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00377/0.6164, allocations: 3.06 MB / 0.768 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005183/0.6216, allocations: 3.396 MB / 0.7714 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.6355, allocations: 11.98 MB / 0.7831 GB, free: 7.766 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6355, allocations: 0 / 0.7831 GB, free: 7.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.951e-06/0.6355, allocations: 0 / 0.7831 GB, free: 7.766 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003383/0.6359, allocations: 3.938 kB / 0.7831 GB, free: 7.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.01337/0.6492, allocations: 5.803 MB / 0.7887 GB, free: 1.887 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6493, allocations: 8.031 kB / 0.7887 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/0.6551, allocations: 1.064 MB / 0.7898 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007175/0.6623, allocations: 3.457 MB / 0.7931 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.6626, allocations: 415.4 kB / 0.7935 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.6638, allocations: 0.5354 MB / 0.7941 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.6782, allocations: 9.075 MB / 0.8029 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.6784, allocations: 31.62 kB / 0.803 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005089/0.6789, allocations: 236 kB / 0.8032 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003223/0.6792, allocations: 346.8 kB / 0.8035 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/0.6917, allocations: 6.83 MB / 0.8102 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04437/0.7361, allocations: 39.79 MB / 0.849 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.7399, allocations: 3.119 MB / 0.8521 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/0.7424, allocations: 1.966 MB / 0.854 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.7425, allocations: 18 kB / 0.854 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.7426, allocations: 52.56 kB / 0.8541 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=179): time 4.318e-06/0.7426, allocations: 0 / 0.8541 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=182): time 0.02354/0.7661, allocations: 9.981 MB / 0.8638 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.7662, allocations: 73.41 kB / 0.8639 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.7684, allocations: 1.522 MB / 0.8654 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.7685, allocations: 53.7 kB / 0.8654 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.7699, allocations: 2.257 MB / 0.8676 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.7704, allocations: 0.6238 MB / 0.8682 GB, free: 12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005631/0.771, allocations: 403.9 kB / 0.8686 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7711, allocations: 317 kB / 0.8689 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.7727, allocations: 1.176 MB / 0.8701 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.7747, allocations: 1.885 MB / 0.8719 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003884/0.7786, allocations: 3.367 MB / 0.8752 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.7786, allocations: 4 kB / 0.8752 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007093/0.7857, allocations: 4.585 MB / 0.8797 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.7857, allocations: 20.25 kB / 0.8797 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.7858, allocations: 23.94 kB / 0.8797 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/0.7893, allocations: 1.587 MB / 0.8813 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.7904, allocations: 351.4 kB / 0.8816 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.8122, allocations: 18.58 MB / 0.8998 GB, free: 10.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.8139, allocations: 119.9 kB / 0.8999 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.8141, allocations: 100 kB / 0.9 GB, free: 10.27 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.002746/0.8168, allocations: 1.888 MB / 0.9018 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.8172, allocations: 221.4 kB / 0.902 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006309/0.8235, allocations: 4.102 MB / 0.906 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.8236, allocations: 23.94 kB / 0.9061 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.8236, allocations: 16 kB / 0.9061 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.8236, allocations: 7.969 kB / 0.9061 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.8382, allocations: 9.446 MB / 0.9153 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.8382, allocations: 4 kB / 0.9153 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.839, allocations: 187.7 kB / 0.9155 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.8421, allocations: 1.357 MB / 0.9168 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.8422, allocations: 32 kB / 0.9168 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.8622, allocations: 17.36 MB / 0.9338 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.8623, allocations: 7.938 kB / 0.9338 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/0.8688, allocations: 4.074 MB / 0.9378 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.8701, allocations: 0.5295 MB / 0.9383 GB, free: 2.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.8704, allocations: 39.92 kB / 0.9383 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008582/0.8712, allocations: 87.89 kB / 0.9384 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/0.8717, allocations: 165.7 kB / 0.9386 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.8718, allocations: 44 kB / 0.9386 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001291/0.8731, allocations: 1.005 MB / 0.9396 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8731, allocations: 0 / 0.9396 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003014/0.8761, allocations: 0.9883 MB / 0.9406 GB, free: 15.7 MB / 0.7169 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.0002672/0.8764, allocations: 147 kB / 0.9407 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006314/0.8827, allocations: 4.292 MB / 0.9449 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8828, allocations: 0 / 0.9449 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004669/0.8874, allocations: 2.674 MB / 0.9475 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/0.8915, allocations: 0.7856 MB / 0.9483 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2884/1.18, allocations: 8.577 MB / 0.9567 GB, free: 226 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004659/1.185, allocations: 3.574 MB / 0.9601 GB, free: 225.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001379/1.186, allocations: 468.7 kB / 0.9606 GB, free: 225.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/1.186, allocations: 117 kB / 0.9607 GB, free: 225.2 MB / 0.7169 GB Notification: Performance of SimCode: time 9.81e-07/1.186, allocations: 0.9062 kB / 0.9607 GB, free: 225.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.0702/1.257, allocations: 43.92 MB / 1.004 GB, free: 211.4 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)