Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.00173/0.00173, allocations: 191 kB / 18 MB, free: 4.977 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1761/0.1761, allocations: 38.04 MB / 329.9 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 458.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3542, allocations: 58.06 MB / 0.5041 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004981/0.3592, allocations: 3.948 MB / 0.5079 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3615, allocations: 1.82 MB / 0.5097 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.3619, allocations: 10.56 kB / 0.5097 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.363, allocations: 370.3 kB / 0.5101 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3642, allocations: 402.2 kB / 0.5105 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.3646, allocations: 140.5 kB / 0.5106 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007177/0.3653, allocations: 0.4897 MB / 0.5111 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.3657, allocations: 215.5 kB / 0.5113 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.3662, allocations: 212.1 kB / 0.5115 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.3666, allocations: 225.4 kB / 0.5117 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.3666, allocations: 21.5 kB / 0.5117 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008333/0.3675, allocations: 450.4 kB / 0.5122 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.3677, allocations: 157.2 kB / 0.5123 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.368, allocations: 151.9 kB / 0.5124 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.369, allocations: 0.4909 MB / 0.5129 GB, free: 2.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.369, allocations: 0 / 0.5129 GB, free: 2.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.369, allocations: 1.25 kB / 0.5129 GB, free: 2.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.369, allocations: 0 / 0.5129 GB, free: 2.227 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001068/0.3701, allocations: 0.5928 MB / 0.5135 GB, free: 1.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3701, allocations: 14.08 kB / 0.5135 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.3715, allocations: 139.5 kB / 0.5137 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.3719, allocations: 303 kB / 0.5139 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.3719, allocations: 15 kB / 0.514 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.372, allocations: 26.39 kB / 0.514 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007213/0.3727, allocations: 448.1 kB / 0.5144 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.3728, allocations: 1.672 kB / 0.5144 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.3728, allocations: 10.16 kB / 0.5144 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.3729, allocations: 21.97 kB / 0.5144 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.3735, allocations: 425.6 kB / 0.5148 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.3756, allocations: 1.719 MB / 0.5165 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.3761, allocations: 285.9 kB / 0.5168 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.3763, allocations: 134.3 kB / 0.5169 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3763, allocations: 2.844 kB / 0.5169 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.3763, allocations: 37.33 kB / 0.517 GB, free: 15.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.3763, allocations: 4.844 kB / 0.517 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.00202/0.3784, allocations: 0.7844 MB / 0.5177 GB, free: 15.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3784, allocations: 88.36 kB / 0.5178 GB, free: 15.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.3787, allocations: 208 kB / 0.518 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.3787, allocations: 30.67 kB / 0.518 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3789, allocations: 183.8 kB / 0.5182 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.004e-05/0.379, allocations: 84.92 kB / 0.5183 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3791, allocations: 64.38 kB / 0.5184 GB, free: 14.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3792, allocations: 331.8 kB / 0.5187 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3794, allocations: 104.3 kB / 0.5188 GB, free: 14.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.3797, allocations: 203.7 kB / 0.519 GB, free: 14.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.3801, allocations: 340.5 kB / 0.5193 GB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3802, allocations: 9.984 kB / 0.5193 GB, free: 13.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008307/0.381, allocations: 427.2 kB / 0.5197 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.381, allocations: 5.969 kB / 0.5197 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.381, allocations: 7.531 kB / 0.5197 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/0.3815, allocations: 86.11 kB / 0.5198 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.3817, allocations: 59.56 kB / 0.5199 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.3839, allocations: 1.992 MB / 0.5218 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3841, allocations: 20.14 kB / 0.5218 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3842, allocations: 15.12 kB / 0.5218 GB, free: 11.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.3844, allocations: 174.2 kB / 0.522 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.3845, allocations: 30.66 kB / 0.522 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.3853, allocations: 389 kB / 0.5224 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3853, allocations: 3.344 kB / 0.5224 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3853, allocations: 1.375 kB / 0.5224 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3853, allocations: 1.281 kB / 0.5224 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.3869, allocations: 0.9116 MB / 0.5233 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3869, allocations: 1.375 kB / 0.5233 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3871, allocations: 41.38 kB / 0.5233 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.3874, allocations: 68.67 kB / 0.5234 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.3874, allocations: 7.547 kB / 0.5234 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.3894, allocations: 1.906 MB / 0.5253 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3894, allocations: 1.375 kB / 0.5253 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/0.3901, allocations: 460.7 kB / 0.5257 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.3902, allocations: 102 kB / 0.5258 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.3903, allocations: 3.359 kB / 0.5258 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3904, allocations: 10.7 kB / 0.5258 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.3905, allocations: 28.3 kB / 0.5259 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3905, allocations: 10.39 kB / 0.5259 GB, free: 8.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.3907, allocations: 153.7 kB / 0.526 GB, free: 8.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3907, allocations: 0 / 0.526 GB, free: 8.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005356/0.3912, allocations: 82.5 kB / 0.5261 GB, free: 8.75 MB / 398.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.3914, allocations: 97.88 kB / 0.5262 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008165/0.3922, allocations: 438.6 kB / 0.5266 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3922, allocations: 0 / 0.5266 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.3927, allocations: 284.2 kB / 0.5269 GB, free: 8.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3931, allocations: 50.19 kB / 0.5269 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3942, allocations: 0.6132 MB / 0.5275 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.3947, allocations: 0.8019 MB / 0.5283 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.3948, allocations: 55.25 kB / 0.5284 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.3949, allocations: 22.19 kB / 0.5284 GB, free: 7.176 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3949, allocations: 0 / 0.5284 GB, free: 7.176 MB / 398.1 MB Notification: Performance of Templates: time 0.008372/0.4033, allocations: 3.027 MB / 0.5313 GB, free: 6.574 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)