Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 112.5 kB / 17.04 MB, free: 5.797 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.001662/0.001663, allocations: 195 kB / 17.98 MB, free: 5.031 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7267/0.7267, allocations: 115.1 MB / 406.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 55.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3538, allocations: 76.15 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03441/0.3882, allocations: 33.3 MB / 0.5901 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.4124, allocations: 14.83 MB / 0.6046 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00499/0.4174, allocations: 156.7 kB / 0.6047 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009193/0.4267, allocations: 3.656 MB / 0.6083 GB, free: 256 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009303/0.436, allocations: 2.888 MB / 0.6111 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006771/0.4428, allocations: 2.332 MB / 0.6134 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.4551, allocations: 8.818 MB / 0.622 GB, free: 2.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/0.4696, allocations: 9.566 MB / 0.6314 GB, free: 8.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/0.4763, allocations: 3.95 MB / 0.6352 GB, free: 4.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007411/0.4837, allocations: 4.042 MB / 0.6392 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002546/0.4863, allocations: 0.7188 MB / 0.6399 GB, free: 48 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.4914, allocations: 1.716 MB / 0.6415 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00403/0.4955, allocations: 2.826 MB / 0.6443 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007255/0.5027, allocations: 3.388 MB / 0.6476 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.5158, allocations: 11.19 MB / 0.6585 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.5158, allocations: 4 kB / 0.6585 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5158, allocations: 0 / 0.6585 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003356/0.5162, allocations: 0 / 0.6585 GB, free: 12.87 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01525/0.5314, allocations: 5.979 MB / 0.6644 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.5315, allocations: 12.03 kB / 0.6644 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007306/0.5388, allocations: 1.145 MB / 0.6655 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009223/0.5481, allocations: 3.52 MB / 0.6689 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/0.5485, allocations: 378.4 kB / 0.6693 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/0.5505, allocations: 500 kB / 0.6698 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.5676, allocations: 8.001 MB / 0.6776 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/0.5678, allocations: 19.84 kB / 0.6776 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006495/0.5685, allocations: 216 kB / 0.6778 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001055/0.5695, allocations: 437.6 kB / 0.6782 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.5824, allocations: 6.081 MB / 0.6842 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04564/0.6281, allocations: 34.9 MB / 0.7183 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.6311, allocations: 2.022 MB / 0.7202 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/0.6336, allocations: 1.861 MB / 0.7221 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.6338, allocations: 25.94 kB / 0.7221 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.6339, allocations: 64.44 kB / 0.7221 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 4.168e-06/0.6339, allocations: 0 / 0.7221 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.3879/1.022, allocations: 38.87 MB / 0.7601 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.022, allocations: 84.38 kB / 0.7602 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003704/1.026, allocations: 2.279 MB / 0.7624 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003689/1.026, allocations: 73.86 kB / 0.7625 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.027, allocations: 2.278 MB / 0.7647 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008828/1.028, allocations: 0.9297 MB / 0.7656 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009214/1.029, allocations: 0.5065 MB / 0.7661 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.63e-05/1.029, allocations: 305.7 kB / 0.7664 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/1.032, allocations: 1.975 MB / 0.7683 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003128/1.035, allocations: 2.608 MB / 0.7709 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005985/1.041, allocations: 4.927 MB / 0.7757 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/1.041, allocations: 7.266 kB / 0.7757 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01345/1.055, allocations: 7.752 MB / 0.7833 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/1.055, allocations: 11.41 kB / 0.7833 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/1.055, allocations: 22.62 kB / 0.7833 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00811/1.063, allocations: 3.221 MB / 0.7864 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/1.064, allocations: 402.7 kB / 0.7868 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03582/1.1, allocations: 33.87 MB / 0.8199 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/1.103, allocations: 163.8 kB / 0.82 GB, free: 109.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003619/1.104, allocations: 104 kB / 0.8201 GB, free: 109.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002896/1.107, allocations: 1.797 MB / 0.8219 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/1.107, allocations: 332.1 kB / 0.8222 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/1.119, allocations: 7.36 MB / 0.8294 GB, free: 99.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/1.119, allocations: 24 kB / 0.8294 GB, free: 99.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.021e-05/1.119, allocations: 32.5 kB / 0.8295 GB, free: 99.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/1.119, allocations: 15.94 kB / 0.8295 GB, free: 99.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/1.139, allocations: 12.92 MB / 0.8421 GB, free: 86.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.139, allocations: 12 kB / 0.8421 GB, free: 86.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008802/1.14, allocations: 227.6 kB / 0.8423 GB, free: 86.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007368/1.148, allocations: 2.853 MB / 0.8451 GB, free: 83.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/1.148, allocations: 48 kB / 0.8452 GB, free: 83.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03368/1.182, allocations: 32.67 MB / 0.8771 GB, free: 50.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.182, allocations: 11.94 kB / 0.8771 GB, free: 50.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.192, allocations: 6.89 MB / 0.8838 GB, free: 43.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.195, allocations: 0.7787 MB / 0.8846 GB, free: 42.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/1.195, allocations: 56 kB / 0.8846 GB, free: 42.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.197, allocations: 167.8 kB / 0.8848 GB, free: 42.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008515/1.198, allocations: 249.5 kB / 0.885 GB, free: 41.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.198, allocations: 76 kB / 0.8851 GB, free: 41.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001812/1.2, allocations: 1.525 MB / 0.8866 GB, free: 40.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.2, allocations: 0 / 0.8866 GB, free: 40.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004073/1.204, allocations: 1.371 MB / 0.8879 GB, free: 38.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000338/1.204, allocations: 179 kB / 0.8881 GB, free: 38.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009626/1.214, allocations: 6.936 MB / 0.8949 GB, free: 31.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.214, allocations: 4.875 kB / 0.8949 GB, free: 31.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006444/1.221, allocations: 4.4 MB / 0.8992 GB, free: 27.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.225, allocations: 1.118 MB / 0.9002 GB, free: 26.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.241, allocations: 10.09 MB / 0.9101 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/1.244, allocations: 3.638 MB / 0.9137 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001977/1.246, allocations: 0.5556 MB / 0.9142 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/1.247, allocations: 159.4 kB / 0.9144 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/1.247, allocations: 0 / 0.9144 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of Templates: time 0.348/1.595, allocations: 74.99 MB / 0.9876 GB, free: 202.1 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)