Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001219/0.001219, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.417/1.417, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001704/0.001705, allocations: 115.2 kB / 248.1 MB, free: 6.363 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1752/0.1752, allocations: 37.92 MB / 330.9 MB, free: 7.312 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.713e-05/1.716e-05, allocations: 5.484 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 53.24 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.513, allocations: 88.94 MB / 0.5201 GB, free: 11.07 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.5133, allocations: 84.27 kB / 0.5201 GB, free: 11.06 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02986/0.5431, allocations: 14.12 MB / 0.5339 GB, free: 5.191 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5432, allocations: 0 / 0.5339 GB, free: 5.191 MB / 347.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.5432, allocations: 3.812 kB / 0.5339 GB, free: 5.191 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005279/0.5437, allocations: 491.8 kB / 0.5344 GB, free: 4.746 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5438, allocations: 11.44 kB / 0.5344 GB, free: 4.742 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008004/0.5446, allocations: 97.42 kB / 0.5345 GB, free: 4.703 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.5449, allocations: 268 kB / 0.5348 GB, free: 4.465 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5449, allocations: 3.844 kB / 0.5348 GB, free: 4.465 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.5449, allocations: 11.53 kB / 0.5348 GB, free: 4.465 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002755/0.5452, allocations: 198.4 kB / 0.535 GB, free: 4.441 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.5456, allocations: 292.9 kB / 0.5352 GB, free: 4.305 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5456, allocations: 3.953 kB / 0.5352 GB, free: 4.301 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.5456, allocations: 0 / 0.5352 GB, free: 4.301 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.311e-05/0.5457, allocations: 23.2 kB / 0.5353 GB, free: 4.297 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.5469, allocations: 1.221 MB / 0.5365 GB, free: 3.426 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.5473, allocations: 225.6 kB / 0.5367 GB, free: 3.348 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.5474, allocations: 90.42 kB / 0.5368 GB, free: 3.32 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.5474, allocations: 7.844 kB / 0.5368 GB, free: 3.316 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.5474, allocations: 34.44 kB / 0.5368 GB, free: 3.277 MB / 347.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.5474, allocations: 0 / 0.5368 GB, free: 3.277 MB / 347.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005439/0.548, allocations: 341.8 kB / 0.5371 GB, free: 3.102 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.548, allocations: 81.11 kB / 0.5372 GB, free: 3.004 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.5482, allocations: 160.9 kB / 0.5374 GB, free: 2.859 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.5482, allocations: 29.73 kB / 0.5374 GB, free: 2.824 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.5482, allocations: 162.1 kB / 0.5375 GB, free: 2.68 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.5483, allocations: 54.95 kB / 0.5376 GB, free: 2.633 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.5483, allocations: 0 / 0.5376 GB, free: 2.633 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.5484, allocations: 326.2 kB / 0.5379 GB, free: 2.312 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.969e-05/0.5485, allocations: 79.06 kB / 0.538 GB, free: 2.258 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.5486, allocations: 148.1 kB / 0.5381 GB, free: 2.117 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.5487, allocations: 106.6 kB / 0.5382 GB, free: 2.047 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5487, allocations: 7.953 kB / 0.5382 GB, free: 2.039 MB / 347.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002906/0.549, allocations: 254.2 kB / 0.5385 GB, free: 1.84 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.549, allocations: 8 kB / 0.5385 GB, free: 1.832 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.549, allocations: 0 / 0.5385 GB, free: 1.832 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5491, allocations: 4 kB / 0.5385 GB, free: 1.828 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.5493, allocations: 55.84 kB / 0.5385 GB, free: 1.777 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5493, allocations: 12.2 kB / 0.5386 GB, free: 1.766 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.5495, allocations: 19.89 kB / 0.5386 GB, free: 1.746 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.5495, allocations: 8 kB / 0.5386 GB, free: 1.738 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.5496, allocations: 116.7 kB / 0.5387 GB, free: 1.621 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.5496, allocations: 19.77 kB / 0.5387 GB, free: 1.602 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.5499, allocations: 212.7 kB / 0.5389 GB, free: 1.445 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.5499, allocations: 4 kB / 0.5389 GB, free: 1.441 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5499, allocations: 4 kB / 0.5389 GB, free: 1.438 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5499, allocations: 7.984 kB / 0.5389 GB, free: 1.43 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.5508, allocations: 0.8824 MB / 0.5398 GB, free: 0.6133 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5509, allocations: 4 kB / 0.5398 GB, free: 0.6094 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.551, allocations: 31.98 kB / 0.5398 GB, free: 0.5781 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.551, allocations: 4.5 kB / 0.5398 GB, free: 0.5742 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.551, allocations: 15.94 kB / 0.5398 GB, free: 0.5586 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.551, allocations: 11.89 kB / 0.5399 GB, free: 0.5469 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.551, allocations: 4 kB / 0.5399 GB, free: 0.543 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.5515, allocations: 0.5793 MB / 0.5404 GB, free: 15.87 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.5516, allocations: 96.91 kB / 0.5405 GB, free: 15.76 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.5516, allocations: 11.94 kB / 0.5405 GB, free: 15.75 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.5518, allocations: 11.98 kB / 0.5405 GB, free: 15.73 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.5518, allocations: 19.81 kB / 0.5406 GB, free: 15.72 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.5518, allocations: 8 kB / 0.5406 GB, free: 15.71 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.552, allocations: 134.4 kB / 0.5407 GB, free: 15.6 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.552, allocations: 0 / 0.5407 GB, free: 15.6 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.5524, allocations: 60 kB / 0.5408 GB, free: 15.54 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001758/0.5526, allocations: 115 kB / 0.5409 GB, free: 15.42 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.5529, allocations: 185.3 kB / 0.541 GB, free: 15.29 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5529, allocations: 4 kB / 0.541 GB, free: 15.29 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.553, allocations: 88.64 kB / 0.5411 GB, free: 15.22 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.5535, allocations: 39.8 kB / 0.5412 GB, free: 15.19 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.5542, allocations: 424.6 kB / 0.5416 GB, free: 14.76 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.5546, allocations: 0.7691 MB / 0.5423 GB, free: 13.97 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.5548, allocations: 53.81 kB / 0.5424 GB, free: 13.91 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.5549, allocations: 15.44 kB / 0.5424 GB, free: 13.9 MB / 363.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5549, allocations: 0 / 0.5424 GB, free: 13.9 MB / 363.1 MB Notification: Performance of Templates: time 0.004446/0.5593, allocations: 1.633 MB / 0.544 GB, free: 12.29 MB / 363.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)