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.001547/0.001547, allocations: 99.98 kB / 16.94 MB, free: 5.867 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.001253/0.001253, allocations: 185.3 kB / 17.86 MB, free: 5.164 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.441/1.441, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8128/0.8128, allocations: 125.4 MB / 417.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002943/0.002943, allocations: 63.91 kB / 0.4948 GB, free: 4.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3501, allocations: 78.56 MB / 0.5715 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005818/0.3559, allocations: 5.065 MB / 0.5765 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.3602, allocations: 3.356 MB / 0.5797 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.3605, allocations: 15.97 kB / 0.5798 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.362, allocations: 0.5053 MB / 0.5803 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009391/0.3629, allocations: 398.2 kB / 0.5806 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.3636, allocations: 263.6 kB / 0.5809 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.3643, allocations: 0.6525 MB / 0.5815 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006011/0.3649, allocations: 0.5323 MB / 0.582 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.3653, allocations: 277.6 kB / 0.5823 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.3656, allocations: 300.3 kB / 0.5826 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/0.3657, allocations: 45.03 kB / 0.5826 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005269/0.3663, allocations: 293.8 kB / 0.5829 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.3664, allocations: 181.5 kB / 0.5831 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.3666, allocations: 236 kB / 0.5833 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006782/0.3673, allocations: 0.8329 MB / 0.5841 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3673, allocations: 0 / 0.5841 GB, free: 23.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3673, allocations: 0 / 0.5841 GB, free: 23.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3674, allocations: 2.062 kB / 0.5841 GB, free: 23.23 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.00119/0.3686, allocations: 0.7932 MB / 0.5849 GB, free: 22.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3686, allocations: 10.81 kB / 0.5849 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.3713, allocations: 0.6831 MB / 0.5856 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.372, allocations: 469.5 kB / 0.586 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.372, allocations: 21.09 kB / 0.586 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.3721, allocations: 32.69 kB / 0.5861 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3736, allocations: 0.8315 MB / 0.5869 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3736, allocations: 1.25 kB / 0.5869 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/0.3737, allocations: 23.11 kB / 0.5869 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.3738, allocations: 57.17 kB / 0.587 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.3757, allocations: 0.935 MB / 0.5879 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/0.3791, allocations: 2.862 MB / 0.5907 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.3808, allocations: 0.547 MB / 0.5912 GB, free: 18.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/0.3816, allocations: 307.9 kB / 0.5915 GB, free: 17.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.3817, allocations: 87.72 kB / 0.5916 GB, free: 17.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3817, allocations: 35.81 kB / 0.5916 GB, free: 17.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.3817, allocations: 1.25 kB / 0.5916 GB, free: 17.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01229/0.394, allocations: 3.5 MB / 0.595 GB, free: 15.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.3941, allocations: 55.41 kB / 0.5951 GB, free: 14.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.3944, allocations: 404.3 kB / 0.5955 GB, free: 14.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.3945, allocations: 33.64 kB / 0.5955 GB, free: 14.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.3946, allocations: 235.9 kB / 0.5957 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.3947, allocations: 110.4 kB / 0.5958 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.3948, allocations: 85.53 kB / 0.5959 GB, free: 14.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.3949, allocations: 350.8 kB / 0.5963 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000872/0.3958, allocations: 396.5 kB / 0.5966 GB, free: 13.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/0.3966, allocations: 464.2 kB / 0.5971 GB, free: 12.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/0.3984, allocations: 0.8392 MB / 0.5979 GB, free: 12.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3984, allocations: 0 / 0.5979 GB, free: 12.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004794/0.4032, allocations: 1.654 MB / 0.5995 GB, free: 10.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.4032, allocations: 7.938 kB / 0.5995 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.4032, allocations: 7.984 kB / 0.5995 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0035/0.4067, allocations: 0.8724 MB / 0.6004 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.4074, allocations: 131.8 kB / 0.6005 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/0.414, allocations: 6.666 MB / 0.607 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008682/0.4149, allocations: 115.8 kB / 0.6071 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.4149, allocations: 23.92 kB / 0.6072 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001077/0.416, allocations: 0.5707 MB / 0.6077 GB, free: 1.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008576/0.4169, allocations: 456.2 kB / 0.6081 GB, free: 1.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001684/0.4186, allocations: 0.8114 MB / 0.6089 GB, free: 204 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.4186, allocations: 0 / 0.6089 GB, free: 204 kB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005139/0.4237, allocations: 1.645 MB / 0.6105 GB, free: 14.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4238, allocations: 4 kB / 0.6105 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4238, allocations: 4 kB / 0.6105 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.4266, allocations: 0.647 MB / 0.6112 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.4274, allocations: 131.8 kB / 0.6113 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008258/0.4356, allocations: 7.291 MB / 0.6184 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.4366, allocations: 107.9 kB / 0.6185 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.4366, allocations: 15.98 kB / 0.6185 GB, free: 5.719 MB / 462.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.0002474/0.4369, allocations: 200.2 kB / 0.6187 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.437, allocations: 35.56 kB / 0.6188 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005197/0.4422, allocations: 1.548 MB / 0.6203 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.4422, allocations: 4 kB / 0.6203 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4423, allocations: 4 kB / 0.6203 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4423, allocations: 3.984 kB / 0.6203 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005932/0.4482, allocations: 2.193 MB / 0.6224 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4482, allocations: 0 / 0.6224 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.4486, allocations: 79.83 kB / 0.6225 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/0.4521, allocations: 0.8217 MB / 0.6233 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.4522, allocations: 8 kB / 0.6233 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008354/0.4605, allocations: 6.516 MB / 0.6297 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4606, allocations: 0 / 0.6297 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004867/0.4654, allocations: 1.526 MB / 0.6312 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/0.4659, allocations: 168.7 kB / 0.6313 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.466, allocations: 11.94 kB / 0.6313 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/0.4667, allocations: 91.86 kB / 0.6314 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.467, allocations: 35.83 kB / 0.6315 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.467, allocations: 8 kB / 0.6315 GB, free: 7.891 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005276/0.4675, allocations: 311.1 kB / 0.6318 GB, free: 7.582 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4675, allocations: 0 / 0.6318 GB, free: 7.582 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001071/0.4686, allocations: 240 kB / 0.632 GB, free: 7.348 MB / 478.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.0002101/0.4688, allocations: 115.2 kB / 0.6321 GB, free: 7.227 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005105/0.4739, allocations: 2.264 MB / 0.6343 GB, free: 4.871 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.474, allocations: 0 / 0.6343 GB, free: 4.871 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.4756, allocations: 0.8005 MB / 0.6351 GB, free: 4.031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.4765, allocations: 136.7 kB / 0.6352 GB, free: 3.914 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.4789, allocations: 1.175 MB / 0.6364 GB, free: 2.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.4796, allocations: 0.918 MB / 0.6373 GB, free: 1.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.4798, allocations: 43.36 kB / 0.6373 GB, free: 1.707 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4798, allocations: 4 kB / 0.6373 GB, free: 1.703 MB / 478.1 MB Notification: Performance of Templates: time 0.02066/0.5004, allocations: 15.35 MB / 0.6523 GB, free: 2.391 MB / 494.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)