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.001312/0.001312, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001398/0.001398, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00221/0.00221, allocations: 285.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.2 MB / 0.4988 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 100.2 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1983, allocations: 86.98 MB / 0.6809 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3983/0.5966, allocations: 34.81 MB / 0.7148 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.6201, allocations: 11.51 MB / 0.7261 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004547/0.6247, allocations: 159.1 kB / 0.7262 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.6361, allocations: 4.256 MB / 0.7304 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006774/0.6429, allocations: 1.983 MB / 0.7323 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006909/0.6498, allocations: 2.404 MB / 0.7347 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.6603, allocations: 8.461 MB / 0.7429 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01813/0.6785, allocations: 11.22 MB / 0.7539 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00661/0.6851, allocations: 3.724 MB / 0.7575 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006795/0.692, allocations: 4.183 MB / 0.7616 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002498/0.6945, allocations: 0.7773 MB / 0.7624 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005664/0.7002, allocations: 2.028 MB / 0.7644 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004789/0.705, allocations: 3.06 MB / 0.7674 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.007332/0.7123, allocations: 3.393 MB / 0.7707 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.7278, allocations: 11.91 MB / 0.7823 GB, free: 8.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.7279, allocations: 0 / 0.7823 GB, free: 8.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7279, allocations: 0 / 0.7823 GB, free: 8.148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003735/0.7282, allocations: 0 / 0.7823 GB, free: 8.148 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.01618/0.7444, allocations: 5.806 MB / 0.788 GB, free: 2.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7445, allocations: 12.03 kB / 0.788 GB, free: 2.258 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006971/0.7515, allocations: 1.052 MB / 0.789 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006983/0.7585, allocations: 3.266 MB / 0.7922 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/0.7589, allocations: 415.5 kB / 0.7926 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.761, allocations: 0.5392 MB / 0.7931 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.7816, allocations: 9.079 MB / 0.802 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002704/0.782, allocations: 27.72 kB / 0.802 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/0.7834, allocations: 236 kB / 0.8022 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004392/0.7839, allocations: 350.8 kB / 0.8026 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.7979, allocations: 6.826 MB / 0.8092 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04626/0.8442, allocations: 40.11 MB / 0.8484 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/0.8482, allocations: 3.112 MB / 0.8514 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/0.8509, allocations: 1.966 MB / 0.8534 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.8511, allocations: 18 kB / 0.8534 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.8511, allocations: 52.56 kB / 0.8534 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=179): time 4.849e-06/0.8511, allocations: 7.984 kB / 0.8534 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=182): time 0.02515/0.8763, allocations: 9.981 MB / 0.8632 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.8764, allocations: 69.41 kB / 0.8632 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.8787, allocations: 1.522 MB / 0.8647 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.8788, allocations: 53.7 kB / 0.8648 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.8803, allocations: 2.257 MB / 0.867 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000586/0.8809, allocations: 0.6277 MB / 0.8676 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006579/0.8816, allocations: 407.9 kB / 0.868 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.8817, allocations: 309.1 kB / 0.8683 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.8834, allocations: 1.179 MB / 0.8694 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.8856, allocations: 1.881 MB / 0.8713 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.89, allocations: 3.371 MB / 0.8746 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.89, allocations: 4 kB / 0.8746 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007873/0.8979, allocations: 4.585 MB / 0.879 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.8979, allocations: 16 kB / 0.8791 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/0.898, allocations: 24 kB / 0.8791 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.9018, allocations: 1.591 MB / 0.8806 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.9031, allocations: 347.4 kB / 0.881 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02408/0.9272, allocations: 18.61 MB / 0.8991 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.929, allocations: 119.9 kB / 0.8993 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/0.9294, allocations: 96 kB / 0.8994 GB, free: 10.51 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.003/0.9324, allocations: 1.891 MB / 0.9012 GB, free: 8.609 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/0.9329, allocations: 221.4 kB / 0.9014 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006975/0.9399, allocations: 4.094 MB / 0.9054 GB, free: 4.27 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.9399, allocations: 23.94 kB / 0.9054 GB, free: 4.246 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-05/0.94, allocations: 16 kB / 0.9054 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.94, allocations: 15.89 kB / 0.9055 GB, free: 4.215 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.956, allocations: 9.466 MB / 0.9147 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.956, allocations: 4 kB / 0.9147 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/0.9568, allocations: 183.7 kB / 0.9149 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003427/0.9603, allocations: 1.363 MB / 0.9162 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.9604, allocations: 36 kB / 0.9162 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/0.9823, allocations: 17.37 MB / 0.9332 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9823, allocations: 4 kB / 0.9332 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007282/0.9896, allocations: 4.069 MB / 0.9372 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.9908, allocations: 0.5295 MB / 0.9377 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004396/0.9913, allocations: 39.94 kB / 0.9377 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.9924, allocations: 87.89 kB / 0.9378 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000451/0.9929, allocations: 161.7 kB / 0.938 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.993, allocations: 44 kB / 0.938 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001572/0.9946, allocations: 1.008 MB / 0.939 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9946, allocations: 3.938 kB / 0.939 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003084/0.9977, allocations: 0.9883 MB / 0.94 GB, free: 15.9 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.0002776/0.998, allocations: 143.1 kB / 0.9401 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0085/1.006, allocations: 5.184 MB / 0.9452 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.007, allocations: 256 / 0.9452 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/1.011, allocations: 2.681 MB / 0.9478 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004905/1.016, allocations: 0.787 MB / 0.9486 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.307/1.323, allocations: 9.477 MB / 0.9578 GB, free: 225.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006761/1.33, allocations: 3.669 MB / 0.9614 GB, free: 224.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/1.331, allocations: 126.5 kB / 0.9615 GB, free: 224.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/1.331, allocations: 0 / 0.9615 GB, free: 224.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.1396/1.47, allocations: 159.4 MB / 1.117 GB, free: 95.24 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)