Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008921/0.0008922, allocations: 174.1 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007079/0.0007079, allocations: 87.56 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1667/0.1667, allocations: 38.08 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 56.33 MB / 479.6 MB, free: 9.215 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004262/0.2289, allocations: 4.482 MB / 484.1 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2312, allocations: 1.567 MB / 485.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/0.2316, allocations: 24.97 kB / 485.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.2319, allocations: 72.98 kB / 485.8 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007302/0.2326, allocations: 260.6 kB / 486 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.2334, allocations: 241.7 kB / 486.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007114/0.2341, allocations: 0.6437 MB / 486.9 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007609/0.2349, allocations: 0.5306 MB / 487.4 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.2352, allocations: 204.2 kB / 487.6 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.2356, allocations: 284.4 kB / 487.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.2357, allocations: 17.38 kB / 487.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.236, allocations: 133.8 kB / 488.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.2362, allocations: 203.2 kB / 488.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.2364, allocations: 226.4 kB / 488.5 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.2369, allocations: 432.6 kB / 488.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2369, allocations: 0 / 488.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2369, allocations: 9.312 kB / 488.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.2369, allocations: 0 / 488.9 MB, free: 3.836 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0009122/0.2378, allocations: 0.6546 MB / 489.6 MB, free: 3.309 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2379, allocations: 9.625 kB / 489.6 MB, free: 3.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/0.2383, allocations: 85.48 kB / 489.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.2388, allocations: 386.6 kB / 490 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.2389, allocations: 28.94 kB / 490.1 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.239, allocations: 55.84 kB / 490.1 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008071/0.2398, allocations: 0.6185 MB / 490.7 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.2399, allocations: 3.312 kB / 490.7 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.2399, allocations: 16.12 kB / 490.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.24, allocations: 33.59 kB / 490.8 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007332/0.2408, allocations: 482.6 kB / 491.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.2433, allocations: 2.889 MB / 494.2 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.2437, allocations: 239 kB / 494.4 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.2439, allocations: 144.5 kB / 494.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.244, allocations: 4.203 kB / 494.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.244, allocations: 37.73 kB / 494.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 3.878e-06/0.244, allocations: 4 kB / 494.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001561/0.2456, allocations: 0.9694 MB / 495.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.2457, allocations: 80.36 kB / 495.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.246, allocations: 320.9 kB / 495.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.2461, allocations: 31.7 kB / 496 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2462, allocations: 273 kB / 496.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.2463, allocations: 101.8 kB / 496.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.2464, allocations: 9.719 kB / 496.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2465, allocations: 350.7 kB / 496.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.2467, allocations: 142.9 kB / 496.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.2471, allocations: 340 kB / 497.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.2477, allocations: 0.5113 MB / 497.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2477, allocations: 2.094 kB / 497.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007882/0.2485, allocations: 0.5343 MB / 498.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2485, allocations: 8.5 kB / 498.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2485, allocations: 10.48 kB / 498.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2486, allocations: 9.156 kB / 498.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.249, allocations: 119.1 kB / 498.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.249, allocations: 11.72 kB / 498.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2493, allocations: 25.97 kB / 498.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.2493, allocations: 28.28 kB / 498.4 MB, free: 13.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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 0.0002369/0.2496, allocations: 228.7 kB / 498.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.2496, allocations: 30.25 kB / 498.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.2502, allocations: 353.5 kB / 499 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2503, allocations: 4.359 kB / 499 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2503, allocations: 1.188 kB / 499 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2503, allocations: 5.406 kB / 499 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.2517, allocations: 0.8863 MB / 499.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2517, allocations: 2.594 kB / 499.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.252, allocations: 68.02 kB / 500 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.252, allocations: 2.781 kB / 500 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.252, allocations: 9.547 kB / 500 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.2521, allocations: 5.406 kB / 500 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2521, allocations: 1.906 kB / 500 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.2528, allocations: 0.5872 MB / 0.4888 GB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.2529, allocations: 103.9 kB / 0.4889 GB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.253, allocations: 9.656 kB / 0.489 GB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2532, allocations: 14.61 kB / 0.489 GB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.2532, allocations: 25.03 kB / 0.489 GB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.2532, allocations: 8.031 kB / 0.489 GB, free: 12.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002191/0.2535, allocations: 216.9 kB / 0.4892 GB, free: 11.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2535, allocations: 0 / 0.4892 GB, free: 11.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.2539, allocations: 94.62 kB / 0.4893 GB, free: 11.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (31): * Single equations (assignments): 30 * 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 9.93e-05/0.254, allocations: 103.1 kB / 0.4894 GB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005344/0.2546, allocations: 361 kB / 0.4897 GB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2546, allocations: 1.812 kB / 0.4897 GB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.2548, allocations: 144.3 kB / 0.4899 GB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.2553, allocations: 67.66 kB / 0.4899 GB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2569, allocations: 1.277 MB / 0.4912 GB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.2573, allocations: 0.851 MB / 0.492 GB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2575, allocations: 38.28 kB / 0.4921 GB, free: 10.07 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2575, allocations: 7.938 kB / 0.4921 GB, free: 10.06 MB / 330.7 MB Notification: Performance of Templates: time 0.007257/0.2647, allocations: 4.869 MB / 0.4968 GB, free: 7.578 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)