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.0008646/0.0008647, allocations: 87.58 kB / 16.66 MB, free: 5.742 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.001311/0.001311, allocations: 182.9 kB / 17.58 MB, free: 5.477 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.35/1.35, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7054/0.7054, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 12 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3755, allocations: 77.52 MB / 0.5606 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005214/0.3807, allocations: 4.703 MB / 0.5652 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.3853, allocations: 3.272 MB / 0.5684 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003227/0.3857, allocations: 12.88 kB / 0.5684 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.3863, allocations: 171.2 kB / 0.5686 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000969/0.3873, allocations: 350.9 kB / 0.5689 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.388, allocations: 240.6 kB / 0.5691 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3891, allocations: 0.8676 MB / 0.57 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.3904, allocations: 0.8254 MB / 0.5708 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.3908, allocations: 224.9 kB / 0.571 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.3912, allocations: 264.6 kB / 0.5712 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.3913, allocations: 19 kB / 0.5713 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006221/0.3919, allocations: 321.9 kB / 0.5716 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3921, allocations: 142.7 kB / 0.5717 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.3924, allocations: 227.9 kB / 0.5719 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.3932, allocations: 0.6558 MB / 0.5726 GB, free: 28.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3932, allocations: 1.594 kB / 0.5726 GB, free: 28.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3932, allocations: 5.984 kB / 0.5726 GB, free: 28.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3933, allocations: 0 / 0.5726 GB, free: 28.22 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.001315/0.3946, allocations: 0.7133 MB / 0.5733 GB, free: 27.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3946, allocations: 9.25 kB / 0.5733 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/0.3977, allocations: 0.6759 MB / 0.5739 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.3985, allocations: 461.9 kB / 0.5744 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.3985, allocations: 21.25 kB / 0.5744 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.3986, allocations: 32.06 kB / 0.5744 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.4004, allocations: 0.832 MB / 0.5752 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.4004, allocations: 2.641 kB / 0.5752 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.4005, allocations: 15.91 kB / 0.5753 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.4007, allocations: 63.75 kB / 0.5753 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.4032, allocations: 0.9315 MB / 0.5762 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.4076, allocations: 2.874 MB / 0.579 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.4094, allocations: 0.5576 MB / 0.5796 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/0.4102, allocations: 314.1 kB / 0.5799 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.4104, allocations: 87.05 kB / 0.58 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4104, allocations: 32.86 kB / 0.58 GB, free: 24.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.475e-06/0.4104, allocations: 0 / 0.58 GB, free: 24.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01321/0.4236, allocations: 3.541 MB / 0.5834 GB, free: 23.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.4237, allocations: 56 kB / 0.5835 GB, free: 23.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.4242, allocations: 406.1 kB / 0.5839 GB, free: 23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.4243, allocations: 31.11 kB / 0.5839 GB, free: 22.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.4244, allocations: 228.5 kB / 0.5841 GB, free: 22.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.4245, allocations: 115.7 kB / 0.5842 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.4246, allocations: 37.14 kB / 0.5843 GB, free: 22.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.4247, allocations: 344.7 kB / 0.5846 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009386/0.4256, allocations: 393.5 kB / 0.585 GB, free: 22.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009458/0.4266, allocations: 467.7 kB / 0.5854 GB, free: 21.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.4284, allocations: 0.8468 MB / 0.5863 GB, free: 21.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4284, allocations: 5.344 kB / 0.5863 GB, free: 21.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005575/0.434, allocations: 1.675 MB / 0.5879 GB, free: 20.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.566e-05/0.4341, allocations: 151.6 kB / 0.588 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4341, allocations: 1.469 kB / 0.588 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/0.4384, allocations: 0.9231 MB / 0.5889 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.4392, allocations: 133.2 kB / 0.5891 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/0.4464, allocations: 6.234 MB / 0.5952 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/0.4474, allocations: 112.8 kB / 0.5953 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.4474, allocations: 23.45 kB / 0.5953 GB, free: 14.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.4474, allocations: 3.438 kB / 0.5953 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004785/0.4522, allocations: 1.614 MB / 0.5969 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4523, allocations: 0 / 0.5969 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/0.4551, allocations: 0.69 MB / 0.5975 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.4557, allocations: 131.8 kB / 0.5977 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.4602, allocations: 5.34 MB / 0.6029 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/0.4611, allocations: 103.9 kB / 0.603 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.4611, allocations: 19.98 kB / 0.603 GB, free: 6.551 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.0004167/0.4616, allocations: 321.8 kB / 0.6033 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.4616, allocations: 43.47 kB / 0.6034 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/0.4664, allocations: 1.575 MB / 0.6049 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4665, allocations: 4 kB / 0.6049 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4665, allocations: 4 kB / 0.6049 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4665, allocations: 0 / 0.6049 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005412/0.4719, allocations: 2.252 MB / 0.6071 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4719, allocations: 0 / 0.6071 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.4723, allocations: 88 kB / 0.6072 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00355/0.4759, allocations: 0.8568 MB / 0.608 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/0.476, allocations: 8 kB / 0.608 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007301/0.4833, allocations: 6.067 MB / 0.614 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4833, allocations: 4.031 kB / 0.614 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.4884, allocations: 1.584 MB / 0.6155 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.4887, allocations: 180.6 kB / 0.6157 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.4888, allocations: 11.94 kB / 0.6157 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.4894, allocations: 87.86 kB / 0.6158 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.4896, allocations: 28.14 kB / 0.6158 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.4896, allocations: 16 kB / 0.6158 GB, free: 8.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004031/0.4901, allocations: 307.1 kB / 0.6161 GB, free: 8.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4901, allocations: 0 / 0.6161 GB, free: 8.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001029/0.4911, allocations: 232 kB / 0.6163 GB, free: 8.336 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.0002006/0.4913, allocations: 107.2 kB / 0.6164 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004499/0.4958, allocations: 2.193 MB / 0.6186 GB, free: 5.926 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4958, allocations: 4 kB / 0.6186 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.4974, allocations: 0.8045 MB / 0.6194 GB, free: 5.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.4983, allocations: 139.2 kB / 0.6195 GB, free: 4.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.5006, allocations: 1.358 MB / 0.6208 GB, free: 3.547 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.5011, allocations: 0.918 MB / 0.6217 GB, free: 2.598 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.5013, allocations: 35.42 kB / 0.6217 GB, free: 2.562 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5013, allocations: 0 / 0.6217 GB, free: 2.562 MB / 462.1 MB Notification: Performance of Templates: time 0.0195/0.5208, allocations: 15.13 MB / 0.6365 GB, free: 3.473 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)