Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001203/0.001202, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.224/1.224, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001734/0.001734, allocations: 120.9 kB / 256.6 MB, free: 4.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1955/0.1955, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 67.89 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07625/0.07742, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003863/0.08132, allocations: 3.661 MB / 457.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.08297, allocations: 1.626 MB / 459.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.08317, allocations: 11.94 kB / 459.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.08383, allocations: 255 kB / 459.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.08434, allocations: 259.1 kB / 459.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.08462, allocations: 115.7 kB / 459.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.08502, allocations: 0.5612 MB / 460.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.0853, allocations: 134.1 kB / 460.6 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.08552, allocations: 127.4 kB / 460.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.08574, allocations: 167.4 kB / 460.9 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.08578, allocations: 12 kB / 460.9 MB, free: 9.629 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.08625, allocations: 415 kB / 461.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.08635, allocations: 91.77 kB / 461.4 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.08645, allocations: 111.5 kB / 461.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.08689, allocations: 370.9 kB / 461.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.0869, allocations: 0 / 461.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.08691, allocations: 0 / 461.9 MB, free: 8.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.08692, allocations: 4 kB / 461.9 MB, free: 8.656 MB / 314.7 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.0005249/0.08745, allocations: 0.5142 MB / 462.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.08749, allocations: 12.03 kB / 462.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/0.08829, allocations: 100.5 kB / 462.5 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.08855, allocations: 264.4 kB / 462.7 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.08857, allocations: 16.12 kB / 462.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.0886, allocations: 16 kB / 462.8 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.08896, allocations: 322.3 kB / 463.1 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.08898, allocations: 0 / 463.1 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.089, allocations: 8 kB / 463.1 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.08903, allocations: 19.98 kB / 463.1 MB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.08937, allocations: 303.7 kB / 463.4 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.09056, allocations: 1.297 MB / 464.7 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.09078, allocations: 194.3 kB / 464.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.09086, allocations: 49.89 kB / 465 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.09089, allocations: 0 / 465 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.09091, allocations: 38.55 kB / 465 MB, free: 5.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.09092, allocations: 0 / 465 MB, free: 5.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002249/0.09115, allocations: 137.8 kB / 465.1 MB, free: 5.129 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.09119, allocations: 85.17 kB / 465.2 MB, free: 5.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.09131, allocations: 207.8 kB / 465.4 MB, free: 4.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.09133, allocations: 25.7 kB / 465.4 MB, free: 4.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.09139, allocations: 171.6 kB / 465.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.09141, allocations: 43.38 kB / 465.6 MB, free: 4.566 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.09146, allocations: 41.58 kB / 465.7 MB, free: 4.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.09151, allocations: 334.8 kB / 466 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.09157, allocations: 39.98 kB / 466.1 MB, free: 4.145 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.09165, allocations: 132.8 kB / 466.2 MB, free: 3.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.09179, allocations: 196.6 kB / 466.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.0918, allocations: 4 kB / 466.4 MB, free: 3.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002122/0.09202, allocations: 205.1 kB / 466.6 MB, free: 3.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.09204, allocations: 4 kB / 466.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.09205, allocations: 8.062 kB / 466.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.09207, allocations: 8 kB / 466.6 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.09221, allocations: 43.92 kB / 466.6 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.09222, allocations: 12.36 kB / 466.7 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.09232, allocations: 27.75 kB / 466.7 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.09234, allocations: 8 kB / 466.7 MB, free: 3.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/0.09243, allocations: 155 kB / 466.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.09246, allocations: 23.73 kB / 466.9 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.09262, allocations: 111.2 kB / 467 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.09263, allocations: 4.094 kB / 467 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.09264, allocations: 3.938 kB / 467 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.09265, allocations: 3.938 kB / 467 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.09314, allocations: 0.5724 MB / 467.6 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.09316, allocations: 4 kB / 467.6 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.09323, allocations: 23.94 kB / 467.6 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.09324, allocations: 3.938 kB / 467.6 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.09325, allocations: 7.984 kB / 467.6 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.09326, allocations: 4 kB / 467.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.09327, allocations: 7.938 kB / 467.6 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.09358, allocations: 0.8842 MB / 468.5 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.09363, allocations: 96.91 kB / 468.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.09366, allocations: 8 kB / 468.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.09377, allocations: 4 kB / 468.6 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.0938, allocations: 19.86 kB / 468.6 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.09381, allocations: 4 kB / 468.6 MB, free: 1.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.0939, allocations: 160.1 kB / 468.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0939, allocations: 0 / 468.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.09429, allocations: 51.84 kB / 468.8 MB, free: 1.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.666e-05/0.09437, allocations: 103.2 kB / 468.9 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.09452, allocations: 112.5 kB / 469 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09453, allocations: 4.062 kB / 469 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.09459, allocations: 51.84 kB / 469.1 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.09495, allocations: 27.98 kB / 469.1 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.09551, allocations: 0.6411 MB / 469.8 MB, free: 60 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.09583, allocations: 0.7596 MB / 470.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.09595, allocations: 45.5 kB / 470.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.09599, allocations: 15.44 kB / 470.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.096, allocations: 0 / 470.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of Templates: time 0.003257/0.09926, allocations: 1.196 MB / 471.8 MB, free: 14.01 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)