Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 103.8 kB / 16.4 MB, free: 6.477 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.000971/0.0009711, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7978/0.7978, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.42 kB / 0.5685 GB, free: 28.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2064, allocations: 77.94 MB / 0.6446 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009037/0.2155, allocations: 6.783 MB / 0.6512 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00547/0.221, allocations: 3.059 MB / 0.6542 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008008/0.2218, allocations: 27.81 kB / 0.6542 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.2246, allocations: 0.9584 MB / 0.6552 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.2262, allocations: 0.4934 MB / 0.6557 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.2275, allocations: 450 kB / 0.6561 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.2293, allocations: 1.232 MB / 0.6573 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.2305, allocations: 0.6622 MB / 0.6579 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009117/0.2314, allocations: 478.2 kB / 0.6584 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.2325, allocations: 0.5215 MB / 0.6589 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.2326, allocations: 68 kB / 0.659 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008546/0.2335, allocations: 379.2 kB / 0.6593 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.2338, allocations: 311.1 kB / 0.6596 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004745/0.2343, allocations: 445.8 kB / 0.6601 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.2357, allocations: 1.23 MB / 0.6613 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2358, allocations: 8 kB / 0.6613 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2358, allocations: 3.938 kB / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.2358, allocations: 0 / 0.6613 GB, free: 7.852 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001932/0.2377, allocations: 1.195 MB / 0.6624 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2378, allocations: 8.625 kB / 0.6624 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.2393, allocations: 244.1 kB / 0.6627 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.2401, allocations: 0.5965 MB / 0.6633 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.2402, allocations: 57.67 kB / 0.6633 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.2403, allocations: 64.34 kB / 0.6634 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.2419, allocations: 1.085 MB / 0.6644 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.2419, allocations: 3.953 kB / 0.6644 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.412e-05/0.242, allocations: 39.92 kB / 0.6645 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.2421, allocations: 85.25 kB / 0.6646 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2432, allocations: 0.7504 MB / 0.6653 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/0.2484, allocations: 5.886 MB / 0.671 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.2494, allocations: 0.5516 MB / 0.6716 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.2498, allocations: 330 kB / 0.6719 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.2499, allocations: 4.438 kB / 0.6719 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.2499, allocations: 39 kB / 0.6719 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.765e-06/0.2499, allocations: 0 / 0.6719 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.003768/0.2537, allocations: 2.003 MB / 0.6739 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2538, allocations: 55.84 kB / 0.6739 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.2544, allocations: 0.5549 MB / 0.6745 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.2545, allocations: 37.7 kB / 0.6745 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.2547, allocations: 436 kB / 0.6749 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.2549, allocations: 182.5 kB / 0.6751 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.2551, allocations: 126.6 kB / 0.6752 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2553, allocations: 374.7 kB / 0.6756 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.2557, allocations: 273.8 kB / 0.6758 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.2563, allocations: 497 kB / 0.6763 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.2573, allocations: 0.821 MB / 0.6771 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2573, allocations: 4 kB / 0.6771 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001708/0.259, allocations: 1.083 MB / 0.6782 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.2591, allocations: 12.16 kB / 0.6782 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.2591, allocations: 8 kB / 0.6782 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008322/0.2599, allocations: 279.1 kB / 0.6785 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.2604, allocations: 131.7 kB / 0.6786 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/0.267, allocations: 7.134 MB / 0.6856 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.2676, allocations: 39.89 kB / 0.6856 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.2677, allocations: 32 kB / 0.6856 GB, free: 13.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003775/0.2681, allocations: 249.5 kB / 0.6859 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2682, allocations: 79.53 kB / 0.6859 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.2697, allocations: 0.8925 MB / 0.6868 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2697, allocations: 4 kB / 0.6868 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2697, allocations: 4 kB / 0.6868 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.2698, allocations: 3.984 kB / 0.6868 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.2722, allocations: 1.728 MB / 0.6885 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2722, allocations: 4 kB / 0.6885 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.2725, allocations: 67.95 kB / 0.6886 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007134/0.2732, allocations: 271.2 kB / 0.6888 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.2732, allocations: 12 kB / 0.6889 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/0.2794, allocations: 7.123 MB / 0.6958 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2794, allocations: 0 / 0.6958 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.2809, allocations: 0.9842 MB / 0.6968 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.2812, allocations: 192.6 kB / 0.697 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/0.2813, allocations: 19.94 kB / 0.697 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.2817, allocations: 35.89 kB / 0.697 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.2818, allocations: 47.83 kB / 0.6971 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.2818, allocations: 12 kB / 0.6971 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004267/0.2822, allocations: 395.1 kB / 0.6974 GB, free: 480 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2822, allocations: 0 / 0.6974 GB, free: 480 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007465/0.283, allocations: 224 kB / 0.6977 GB, free: 256 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001443/0.2831, allocations: 119.2 kB / 0.6978 GB, free: 124 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.285, allocations: 1.275 MB / 0.699 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.285, allocations: 4.125 kB / 0.699 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.2862, allocations: 0.8853 MB / 0.6999 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/0.2872, allocations: 228.9 kB / 0.7001 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.2892, allocations: 1.356 MB / 0.7014 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.2898, allocations: 1.013 MB / 0.7024 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003214/0.2901, allocations: 129.9 kB / 0.7025 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2903, allocations: 39.44 kB / 0.7026 GB, free: 11.02 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.2903, allocations: 0 / 0.7026 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Templates: time 0.01841/0.3087, allocations: 11.31 MB / 0.7136 GB, free: 15.83 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)