Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001503, allocations: 102.7 kB / 16.26 MB, free: 5.934 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.001594/0.001595, allocations: 190.6 kB / 17.2 MB, free: 5.574 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.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7543/0.7543, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 59.89 kB / 0.4911 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3587, allocations: 77.94 MB / 0.5672 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006329/0.365, allocations: 5.141 MB / 0.5723 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004847/0.3699, allocations: 3.791 MB / 0.576 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.3703, allocations: 12.41 kB / 0.576 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.3722, allocations: 0.5712 MB / 0.5765 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3736, allocations: 489.3 kB / 0.577 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007217/0.3743, allocations: 269.2 kB / 0.5773 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.3754, allocations: 0.691 MB / 0.5779 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000704/0.3761, allocations: 0.5331 MB / 0.5784 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/0.3767, allocations: 363.1 kB / 0.5788 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.3771, allocations: 301.8 kB / 0.5791 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/0.3772, allocations: 44 kB / 0.5791 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.378, allocations: 305.5 kB / 0.5794 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.3782, allocations: 169.3 kB / 0.5796 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.3784, allocations: 245.7 kB / 0.5798 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009541/0.3794, allocations: 0.8411 MB / 0.5806 GB, free: 24.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3794, allocations: 1.375 kB / 0.5806 GB, free: 24.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3794, allocations: 5 kB / 0.5806 GB, free: 24.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3794, allocations: 0 / 0.5806 GB, free: 24.51 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.001476/0.3809, allocations: 0.8161 MB / 0.5814 GB, free: 23.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.381, allocations: 10.34 kB / 0.5814 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.384, allocations: 0.69 MB / 0.5821 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.3847, allocations: 454.6 kB / 0.5826 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.3847, allocations: 29.7 kB / 0.5826 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.3848, allocations: 31.56 kB / 0.5826 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.3864, allocations: 0.8374 MB / 0.5834 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3864, allocations: 5.422 kB / 0.5834 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.3865, allocations: 14.47 kB / 0.5834 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/0.3867, allocations: 59.69 kB / 0.5835 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.3887, allocations: 0.9265 MB / 0.5844 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.3921, allocations: 2.88 MB / 0.5872 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.3939, allocations: 0.5621 MB / 0.5878 GB, free: 19.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000761/0.3946, allocations: 305.1 kB / 0.5881 GB, free: 19.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.771e-05/0.3947, allocations: 91.38 kB / 0.5881 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3948, allocations: 36.22 kB / 0.5882 GB, free: 19.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.876e-06/0.3948, allocations: 1.344 kB / 0.5882 GB, free: 19.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.015/0.4098, allocations: 3.887 MB / 0.592 GB, free: 17.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4099, allocations: 59.41 kB / 0.592 GB, free: 16.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.4104, allocations: 429.5 kB / 0.5924 GB, free: 16.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.4105, allocations: 33.7 kB / 0.5925 GB, free: 16.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4106, allocations: 240.2 kB / 0.5927 GB, free: 16.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.4107, allocations: 122.2 kB / 0.5928 GB, free: 16.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.4109, allocations: 86.11 kB / 0.5929 GB, free: 16.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.411, allocations: 350.8 kB / 0.5932 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/0.4119, allocations: 434.2 kB / 0.5937 GB, free: 15.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009252/0.4128, allocations: 0.5008 MB / 0.5941 GB, free: 14.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.4147, allocations: 0.9265 MB / 0.595 GB, free: 13.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4147, allocations: 4 kB / 0.5951 GB, free: 13.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005362/0.4201, allocations: 1.837 MB / 0.5968 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.4201, allocations: 8 kB / 0.5969 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4202, allocations: 0 / 0.5969 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/0.4241, allocations: 0.9808 MB / 0.5978 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.4248, allocations: 123.8 kB / 0.5979 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008504/0.4334, allocations: 6.653 MB / 0.6044 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/0.4344, allocations: 107.8 kB / 0.6045 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.4344, allocations: 15.98 kB / 0.6045 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001179/0.4356, allocations: 0.6177 MB / 0.6051 GB, free: 3.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009414/0.4366, allocations: 0.4928 MB / 0.6056 GB, free: 2.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001877/0.4384, allocations: 0.9013 MB / 0.6065 GB, free: 1.672 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.4385, allocations: 0 / 0.6065 GB, free: 1.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004658/0.4431, allocations: 1.618 MB / 0.6081 GB, free: 40 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4432, allocations: 4 kB / 0.6081 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4432, allocations: 4 kB / 0.6081 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.4461, allocations: 0.7001 MB / 0.6088 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.4469, allocations: 139.8 kB / 0.6089 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008122/0.455, allocations: 5.821 MB / 0.6146 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.4561, allocations: 107.8 kB / 0.6147 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.4562, allocations: 19.98 kB / 0.6147 GB, free: 8.949 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002748/0.4565, allocations: 205 kB / 0.6149 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4567, allocations: 39.53 kB / 0.615 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/0.4622, allocations: 1.731 MB / 0.6166 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4622, allocations: 4 kB / 0.6166 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4622, allocations: 0 / 0.6166 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4622, allocations: 3.984 kB / 0.6167 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/0.4685, allocations: 2.414 MB / 0.619 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.4686, allocations: 7.984 kB / 0.619 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.469, allocations: 72 kB / 0.6191 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003757/0.4727, allocations: 0.8949 MB / 0.62 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.4728, allocations: 8 kB / 0.62 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00936/0.4822, allocations: 6.331 MB / 0.6262 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4822, allocations: 3.938 kB / 0.6262 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/0.4874, allocations: 1.673 MB / 0.6278 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.4878, allocations: 180.6 kB / 0.628 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.4879, allocations: 15.94 kB / 0.628 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.4887, allocations: 87.84 kB / 0.6281 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.4889, allocations: 39.89 kB / 0.6281 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.4889, allocations: 12 kB / 0.6281 GB, free: 10.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005282/0.4894, allocations: 327.6 kB / 0.6284 GB, free: 10.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4895, allocations: 0 / 0.6284 GB, free: 10.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001214/0.4907, allocations: 264 kB / 0.6287 GB, free: 10.23 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002197/0.4909, allocations: 113.1 kB / 0.6288 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006789/0.4977, allocations: 2.498 MB / 0.6312 GB, free: 7.566 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4977, allocations: 3.938 kB / 0.6312 GB, free: 7.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.5003, allocations: 0.9577 MB / 0.6322 GB, free: 6.578 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/0.5012, allocations: 122.4 kB / 0.6323 GB, free: 6.461 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.5038, allocations: 1.237 MB / 0.6335 GB, free: 5.184 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.5044, allocations: 0.9568 MB / 0.6344 GB, free: 4.195 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006456/0.5051, allocations: 151.2 kB / 0.6346 GB, free: 4.047 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.5052, allocations: 35.41 kB / 0.6346 GB, free: 4.012 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5052, allocations: 0 / 0.6346 GB, free: 4.012 MB / 478.1 MB Notification: Performance of Templates: time 0.02719/0.5324, allocations: 16.48 MB / 0.6507 GB, free: 3.691 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)