Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007173/0.0007177, allocations: 93.05 kB / 16.65 MB, free: 6.59 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.0009624/0.0009624, allocations: 182.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2211/0.2211, allocations: 38.06 MB / 310.1 MB, free: 5.906 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005246, allocations: 19.12 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2964, allocations: 56.32 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.005152/0.3017, allocations: 4.674 MB / 438.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.3039, allocations: 1.656 MB / 439.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.3041, allocations: 19.88 kB / 439.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.3043, allocations: 59.55 kB / 439.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.3049, allocations: 203.1 kB / 440.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.3054, allocations: 219.6 kB / 440.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.306, allocations: 0.8186 MB / 441.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.3067, allocations: 0.5437 MB / 441.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.3069, allocations: 191.1 kB / 441.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.3073, allocations: 295 kB / 442.1 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.3073, allocations: 16 kB / 442.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.3076, allocations: 131.7 kB / 442.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.3078, allocations: 215.4 kB / 442.5 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3079, allocations: 236.6 kB / 442.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.3083, allocations: 0.545 MB / 443.3 MB, free: 8.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3083, allocations: 4 kB / 443.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3083, allocations: 0 / 443.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3084, allocations: 0 / 443.3 MB, free: 8.82 MB / 318.1 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.0009905/0.3093, allocations: 0.6492 MB / 443.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3094, allocations: 15.97 kB / 443.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.3099, allocations: 80.33 kB / 444 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.3104, allocations: 387.3 kB / 444.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.3104, allocations: 33.36 kB / 444.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.3105, allocations: 48.12 kB / 444.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.3112, allocations: 0.6248 MB / 445.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.3112, allocations: 7.938 kB / 445.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.3113, allocations: 16 kB / 445.1 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.3114, allocations: 28.98 kB / 445.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.312, allocations: 483.4 kB / 445.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.3144, allocations: 2.891 MB / 448.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.3147, allocations: 240.9 kB / 448.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3149, allocations: 141.7 kB / 448.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3149, allocations: 8 kB / 448.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.315, allocations: 38.55 kB / 448.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 2.976e-06/0.315, allocations: 0 / 448.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001256/0.3162, allocations: 0.9683 MB / 449.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.3163, allocations: 81.11 kB / 450 MB, free: 1.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3165, allocations: 328.5 kB / 450.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3165, allocations: 33.7 kB / 450.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3167, allocations: 271.3 kB / 450.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.3167, allocations: 98.66 kB / 450.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.3168, allocations: 45.64 kB / 450.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.3168, allocations: 350.7 kB / 451.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.317, allocations: 145 kB / 451.2 MB, free: 432 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.3173, allocations: 347.2 kB / 451.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.3179, allocations: 0.5168 MB / 452.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.318, allocations: 4 kB / 452.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007488/0.3187, allocations: 0.5322 MB / 452.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3187, allocations: 8 kB / 452.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3188, allocations: 11.98 kB / 452.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3188, allocations: 8 kB / 452.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.3192, allocations: 119.8 kB / 452.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.3192, allocations: 16.42 kB / 452.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3194, allocations: 35.91 kB / 452.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.3195, allocations: 24 kB / 452.8 MB, free: 14.62 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.3197, allocations: 217.5 kB / 453.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.3198, allocations: 35.61 kB / 453.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000599/0.3204, allocations: 354.2 kB / 453.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3204, allocations: 4 kB / 453.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3204, allocations: 0 / 453.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3205, allocations: 4 kB / 453.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.3218, allocations: 0.887 MB / 454.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3218, allocations: 3.938 kB / 454.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.3221, allocations: 67.91 kB / 454.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3221, allocations: 0 / 454.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3222, allocations: 16.08 kB / 454.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3222, allocations: 11.94 kB / 454.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3222, allocations: 0 / 454.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.3229, allocations: 0.5809 MB / 455 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.323, allocations: 108.8 kB / 455.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.3231, allocations: 8 kB / 455.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3233, allocations: 15.92 kB / 455.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.3233, allocations: 19.98 kB / 455.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3234, allocations: 11.98 kB / 455.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.3236, allocations: 219 kB / 455.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3236, allocations: 0 / 455.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004519/0.3241, allocations: 96 kB / 455.5 MB, free: 11.85 MB / 334.1 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 (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.0001751/0.3242, allocations: 107.2 kB / 455.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005978/0.3248, allocations: 365 kB / 455.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3249, allocations: 0.5 kB / 455.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.3251, allocations: 147.8 kB / 456.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.3256, allocations: 61.56 kB / 456.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.3273, allocations: 1.254 MB / 457.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.3278, allocations: 0.8584 MB / 458.3 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.3281, allocations: 127.1 kB / 458.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.422e-05/0.3282, allocations: 35.44 kB / 458.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3282, allocations: 3.938 kB / 458.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of Templates: time 0.007159/0.3354, allocations: 3.139 MB / 461.6 MB, free: 5.707 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) Environment - environmentSimulation: