Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007621/0.0007621, allocations: 94.72 kB / 16.32 MB, free: 5.578 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.0008414/0.0008415, allocations: 177.8 kB / 17.2 MB, free: 5.496 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.735/1.735, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2064/0.2064, allocations: 38.05 MB / 309.7 MB, free: 6.023 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.0005378/0.0005384, allocations: 12 kB / 376.6 MB, free: 2.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2836, allocations: 56.32 MB / 432.9 MB, free: 18.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004065/0.2877, allocations: 4.459 MB / 437.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.2898, allocations: 1.568 MB / 439 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.2901, allocations: 23.81 kB / 439 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.2903, allocations: 75.39 kB / 439.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.2909, allocations: 278.7 kB / 439.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007312/0.2917, allocations: 231.6 kB / 439.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007319/0.2924, allocations: 0.682 MB / 440.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009332/0.2934, allocations: 0.5177 MB / 440.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.2938, allocations: 207 kB / 441 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.2943, allocations: 351.1 kB / 441.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.2943, allocations: 20 kB / 441.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.2947, allocations: 179.7 kB / 441.5 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2949, allocations: 219.5 kB / 441.7 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.795e-05/0.295, allocations: 105.5 kB / 441.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.2954, allocations: 498.8 kB / 442.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.2954, allocations: 0 / 442.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2954, allocations: 0 / 442.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2955, allocations: 4 kB / 442.3 MB, free: 9.367 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001063/0.2965, allocations: 0.6996 MB / 443 MB, free: 8.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2966, allocations: 8.031 kB / 443 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/0.2967, allocations: 86.52 kB / 443.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005322/0.2972, allocations: 87.28 kB / 443.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.2977, allocations: 394.1 kB / 443.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.2978, allocations: 36.97 kB / 443.6 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.2979, allocations: 44 kB / 443.6 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009451/0.2988, allocations: 0.6765 MB / 444.3 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.2989, allocations: 11.88 kB / 444.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.2989, allocations: 16 kB / 444.3 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.2991, allocations: 52.95 kB / 444.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.2999, allocations: 0.6713 MB / 445.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.3027, allocations: 2.433 MB / 447.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.3032, allocations: 349.8 kB / 447.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.3035, allocations: 265.8 kB / 448.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.3036, allocations: 8.266 kB / 448.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3036, allocations: 38.84 kB / 448.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 1.783e-06/0.3036, allocations: 0 / 448.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.002095/0.3057, allocations: 1.483 MB / 449.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.3058, allocations: 81.11 kB / 449.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.306, allocations: 286.8 kB / 450 MB, free: 1.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3061, allocations: 33.7 kB / 450 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3062, allocations: 247.7 kB / 450.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/0.3063, allocations: 157.7 kB / 450.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.3064, allocations: 8 kB / 450.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3065, allocations: 350.9 kB / 450.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.3068, allocations: 217 kB / 451 MB, free: 296 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.3071, allocations: 353.8 kB / 451.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.3075, allocations: 280.2 kB / 451.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3075, allocations: 4 kB / 451.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001169/0.3087, allocations: 0.7233 MB / 452.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3087, allocations: 4 kB / 452.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008874/0.3096, allocations: 0.5191 MB / 452.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/0.31, allocations: 80.78 kB / 452.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.3104, allocations: 107.8 kB / 453 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.3122, allocations: 1.592 MB / 454.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.3125, allocations: 23.97 kB / 454.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.3125, allocations: 24 kB / 454.7 MB, free: 12.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.3128, allocations: 213.6 kB / 454.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.3129, allocations: 39.56 kB / 454.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.3137, allocations: 0.5592 MB / 455.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.3138, allocations: 19.97 kB / 455.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3138, allocations: 0 / 455.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3138, allocations: 0 / 455.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.3155, allocations: 1.192 MB / 456.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3156, allocations: 3.938 kB / 456.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.3159, allocations: 88.02 kB / 456.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.316, allocations: 3.938 kB / 456.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.316, allocations: 11.98 kB / 456.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.316, allocations: 8 kB / 456.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.316, allocations: 0 / 456.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.3172, allocations: 0.9295 MB / 457.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.3173, allocations: 104.7 kB / 457.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.3173, allocations: 12.03 kB / 457.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.3175, allocations: 19.98 kB / 457.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.3176, allocations: 19.97 kB / 457.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.3177, allocations: 19.98 kB / 457.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.3178, allocations: 194 kB / 458.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3178, allocations: 0 / 458.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.3183, allocations: 124 kB / 458.2 MB, free: 8.711 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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.001457/0.3198, allocations: 1.494 MB / 459.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3209, allocations: 0.6543 MB / 460.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3209, allocations: 4.062 kB / 460.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.3212, allocations: 259.5 kB / 460.6 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.3217, allocations: 61.12 kB / 460.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.326, allocations: 3.11 MB / 463.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.3265, allocations: 0.8821 MB / 464.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000338/0.3268, allocations: 123.1 kB / 464.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.327, allocations: 151.4 kB / 464.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.327, allocations: 0 / 464.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.3478, allocations: 8 MB / 472.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.348, allocations: 209.7 kB / 473.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.245, allocations: 0 / 473.1 MB, free: 9.605 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) Environment - environmentSimulation: