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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 111.6 kB / 17.28 MB, free: 6.199 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.002112/0.002111, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.664/2.664, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4255/0.4255, allocations: 38.02 MB / 330.1 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002723, allocations: 64.78 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.205, allocations: 58.07 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.0119/0.217, allocations: 3.677 MB / 460.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.2222, allocations: 1.566 MB / 462.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005642/0.2229, allocations: 11.94 kB / 462.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.2245, allocations: 249.2 kB / 462.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.226, allocations: 255.1 kB / 462.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009594/0.227, allocations: 119.7 kB / 462.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009684/0.228, allocations: 335 kB / 463.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007349/0.2287, allocations: 161.9 kB / 463.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.2293, allocations: 139.4 kB / 463.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/0.2299, allocations: 159.5 kB / 463.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.23, allocations: 12 kB / 463.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.2315, allocations: 339.2 kB / 464 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.2317, allocations: 107.7 kB / 464.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.2321, allocations: 103.5 kB / 464.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008763/0.233, allocations: 267.4 kB / 464.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.233, allocations: 11.98 kB / 464.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.6e-06/0.2331, allocations: 0 / 464.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.2331, allocations: 0 / 464.5 MB, free: 0.9062 MB / 334.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.001702/0.2348, allocations: 0.5026 MB / 465 MB, free: 364 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.763e-05/0.2349, allocations: 11.89 kB / 465 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.2366, allocations: 108.5 kB / 465.1 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006687/0.2373, allocations: 258.3 kB / 465.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.2373, allocations: 20.31 kB / 465.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.2374, allocations: 20.12 kB / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/0.2383, allocations: 322.4 kB / 465.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.2383, allocations: 3.938 kB / 465.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.2384, allocations: 11.98 kB / 465.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/0.2385, allocations: 15.98 kB / 465.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.2392, allocations: 299.8 kB / 466 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.2425, allocations: 1.289 MB / 467.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.2432, allocations: 210.2 kB / 467.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.2434, allocations: 49.92 kB / 467.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.2435, allocations: 3.938 kB / 467.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.305e-05/0.2436, allocations: 34.56 kB / 467.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 5.972e-06/0.2436, allocations: 4 kB / 467.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006591/0.2443, allocations: 133.4 kB / 467.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.2444, allocations: 81.11 kB / 467.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.2449, allocations: 215.7 kB / 468 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2449, allocations: 25.7 kB / 468 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2451, allocations: 167.5 kB / 468.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.2452, allocations: 39.55 kB / 468.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.2453, allocations: 37.7 kB / 468.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002551/0.2456, allocations: 331 kB / 468.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.2457, allocations: 39.97 kB / 468.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.246, allocations: 131.7 kB / 468.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.2465, allocations: 196.6 kB / 469 MB, free: 11.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.2465, allocations: 3.938 kB / 469 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005989/0.2471, allocations: 205.5 kB / 469.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.2472, allocations: 4 kB / 469.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.2472, allocations: 4 kB / 469.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-05/0.2473, allocations: 4.438 kB / 469.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.2476, allocations: 56 kB / 469.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.2476, allocations: 11.94 kB / 469.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.2479, allocations: 23.62 kB / 469.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.248, allocations: 19.98 kB / 469.3 MB, free: 11.66 MB / 350.1 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 0.0002868/0.2483, allocations: 153.7 kB / 469.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.2484, allocations: 15.81 kB / 469.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.2488, allocations: 123 kB / 469.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.2488, allocations: 4 kB / 469.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.2488, allocations: 4 kB / 469.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.2488, allocations: 0 / 469.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.2503, allocations: 0.5758 MB / 470.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.2504, allocations: 4.062 kB / 470.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2505, allocations: 23.92 kB / 470.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.808e-05/0.2506, allocations: 4 kB / 470.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.2506, allocations: 7.938 kB / 470.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/0.2506, allocations: 4 kB / 470.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.2507, allocations: 4 kB / 470.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000597/0.2513, allocations: 280.1 kB / 470.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.2515, allocations: 96.91 kB / 470.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.2515, allocations: 15.88 kB / 470.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.2518, allocations: 4 kB / 470.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.2518, allocations: 19.92 kB / 470.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.2519, allocations: 4 kB / 470.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.2522, allocations: 161.5 kB / 470.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2522, allocations: 0 / 470.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000693/0.2529, allocations: 51.84 kB / 470.8 MB, free: 9.957 MB / 350.1 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 0.0002439/0.2532, allocations: 99.19 kB / 470.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.2538, allocations: 116.5 kB / 471 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.2538, allocations: 4.062 kB / 471 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.254, allocations: 51.84 kB / 471.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008019/0.2548, allocations: 30.56 kB / 471.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.2565, allocations: 0.5526 MB / 471.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/0.2574, allocations: 0.7632 MB / 472.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.2575, allocations: 15.44 kB / 472.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of SimCode: time 1.944e-06/0.2575, allocations: 7.938 kB / 472.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of Templates: time 0.008642/0.2662, allocations: 2.175 MB / 474.6 MB, free: 6.047 MB / 350.1 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)