Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 104.6 kB / 16.52 MB, free: 6.664 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.001283/0.001283, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6876/0.6876, allocations: 115.3 MB / 406.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 493.6 MB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3238, allocations: 76.17 MB / 0.5564 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006022/0.3299, allocations: 5.093 MB / 0.5614 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.3341, allocations: 3.333 MB / 0.5646 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.3344, allocations: 11.72 kB / 0.5646 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.3357, allocations: 484.1 kB / 0.5651 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008407/0.3366, allocations: 346.4 kB / 0.5654 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.3372, allocations: 239.3 kB / 0.5656 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009838/0.3382, allocations: 0.8679 MB / 0.5665 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006783/0.3389, allocations: 0.495 MB / 0.567 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.3393, allocations: 240.4 kB / 0.5672 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.3397, allocations: 288.9 kB / 0.5675 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.3398, allocations: 29.67 kB / 0.5675 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006102/0.3404, allocations: 325.1 kB / 0.5678 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3406, allocations: 154.3 kB / 0.568 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.3408, allocations: 217 kB / 0.5682 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000724/0.3415, allocations: 0.6687 MB / 0.5688 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3415, allocations: 0 / 0.5688 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3415, allocations: 4.5 kB / 0.5688 GB, free: 28.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3415, allocations: 1.75 kB / 0.5688 GB, free: 28.92 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001394/0.3429, allocations: 0.7946 MB / 0.5696 GB, free: 28.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.343, allocations: 8.906 kB / 0.5696 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.3458, allocations: 0.6639 MB / 0.5703 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.3465, allocations: 457.5 kB / 0.5707 GB, free: 27.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3465, allocations: 26.77 kB / 0.5707 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/0.3466, allocations: 39.91 kB / 0.5708 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.3482, allocations: 0.8249 MB / 0.5716 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3482, allocations: 1.5 kB / 0.5716 GB, free: 27.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.3483, allocations: 19.69 kB / 0.5716 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/0.3485, allocations: 53.67 kB / 0.5716 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.3505, allocations: 0.918 MB / 0.5725 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.3541, allocations: 2.847 MB / 0.5753 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.3557, allocations: 0.541 MB / 0.5759 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.3564, allocations: 302.1 kB / 0.5761 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.3565, allocations: 86.86 kB / 0.5762 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.3565, allocations: 35.42 kB / 0.5763 GB, free: 25.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.685e-06/0.3566, allocations: 1.219 kB / 0.5763 GB, free: 25.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01239/0.3689, allocations: 3.4 MB / 0.5796 GB, free: 23.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.369, allocations: 55.28 kB / 0.5796 GB, free: 23.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.3695, allocations: 402.7 kB / 0.58 GB, free: 23.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.3696, allocations: 32.45 kB / 0.58 GB, free: 23.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3697, allocations: 223 kB / 0.5803 GB, free: 23.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/0.3698, allocations: 120.2 kB / 0.5804 GB, free: 23.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.37, allocations: 76.09 kB / 0.5804 GB, free: 23.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.37, allocations: 350 kB / 0.5808 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000834/0.3709, allocations: 384.5 kB / 0.5811 GB, free: 22.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008536/0.3717, allocations: 449.6 kB / 0.5816 GB, free: 22.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.3734, allocations: 0.8207 MB / 0.5824 GB, free: 21.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3734, allocations: 1.094 kB / 0.5824 GB, free: 21.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005058/0.3784, allocations: 1.628 MB / 0.584 GB, free: 21.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3785, allocations: 9 kB / 0.584 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3785, allocations: 3.219 kB / 0.584 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/0.3824, allocations: 0.8777 MB / 0.5848 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.383, allocations: 125.1 kB / 0.585 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/0.3899, allocations: 6.189 MB / 0.591 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.3907, allocations: 110.4 kB / 0.5911 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.3908, allocations: 11.91 kB / 0.5911 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001061/0.3918, allocations: 0.5593 MB / 0.5917 GB, free: 14.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008065/0.3926, allocations: 448.4 kB / 0.5921 GB, free: 14.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001554/0.3942, allocations: 0.7928 MB / 0.5929 GB, free: 14.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.3942, allocations: 5.188 kB / 0.5929 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004202/0.3984, allocations: 1.615 MB / 0.5944 GB, free: 12.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3985, allocations: 5.719 kB / 0.5945 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3985, allocations: 4 kB / 0.5945 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/0.4009, allocations: 0.6393 MB / 0.5951 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.4015, allocations: 131.8 kB / 0.5952 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.4064, allocations: 6.772 MB / 0.6018 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.4072, allocations: 99.83 kB / 0.6019 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.4073, allocations: 16 kB / 0.6019 GB, free: 4.484 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.4075, allocations: 212.2 kB / 0.6021 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.4076, allocations: 35.53 kB / 0.6022 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.4119, allocations: 1.525 MB / 0.6037 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4119, allocations: 4 kB / 0.6037 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4119, allocations: 0 / 0.6037 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4119, allocations: 3.984 kB / 0.6037 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/0.4168, allocations: 2.189 MB / 0.6058 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4169, allocations: 0 / 0.6058 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.4172, allocations: 83.83 kB / 0.6059 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003443/0.4207, allocations: 0.8062 MB / 0.6067 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.4208, allocations: 11.98 kB / 0.6067 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00695/0.4277, allocations: 6.029 MB / 0.6126 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4277, allocations: 0 / 0.6126 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/0.4324, allocations: 1.537 MB / 0.6141 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.4327, allocations: 168.7 kB / 0.6142 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.058e-05/0.4328, allocations: 15.83 kB / 0.6142 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.4334, allocations: 87.8 kB / 0.6143 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.4336, allocations: 31.97 kB / 0.6144 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.4336, allocations: 11.98 kB / 0.6144 GB, free: 7.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000371/0.434, allocations: 303.1 kB / 0.6147 GB, free: 6.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.434, allocations: 0 / 0.6147 GB, free: 6.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001029/0.4351, allocations: 243.9 kB / 0.6149 GB, free: 6.633 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.4352, allocations: 107.2 kB / 0.615 GB, free: 6.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004274/0.4395, allocations: 2.194 MB / 0.6171 GB, free: 4.238 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4395, allocations: 3.938 kB / 0.6171 GB, free: 4.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.441, allocations: 0.8006 MB / 0.6179 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.4417, allocations: 122.9 kB / 0.618 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.4439, allocations: 1.327 MB / 0.6193 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.4444, allocations: 0.9219 MB / 0.6202 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4446, allocations: 39.42 kB / 0.6203 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of SimCode: time 5.52e-07/0.4446, allocations: 3.938 kB / 0.6203 GB, free: 0.918 MB / 462.1 MB Notification: Performance of Templates: time 0.01712/0.4617, allocations: 15.17 MB / 0.6351 GB, free: 1.789 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)