Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_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.001063/0.001063, allocations: 95.89 kB / 16.3 MB, free: 5.992 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.0009219/0.000922, allocations: 182 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 241.1 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3434/0.3434, allocations: 38.07 MB / 330.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 8 kB / 400.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3147, allocations: 59.15 MB / 459.2 MB, free: 30.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004923/0.3197, allocations: 4.297 MB / 463.5 MB, free: 27.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3223, allocations: 1.53 MB / 465 MB, free: 26.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.3225, allocations: 21.72 kB / 465.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.3228, allocations: 76.53 kB / 465.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006526/0.3234, allocations: 215.9 kB / 465.3 MB, free: 25.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007838/0.3242, allocations: 230.1 kB / 465.6 MB, free: 25.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.3247, allocations: 290.6 kB / 465.9 MB, free: 25.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.3255, allocations: 0.5161 MB / 466.4 MB, free: 25.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.3258, allocations: 187.9 kB / 466.6 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.3262, allocations: 248.6 kB / 466.8 MB, free: 25.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.3263, allocations: 21.03 kB / 466.8 MB, free: 25.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.3267, allocations: 158.9 kB / 467 MB, free: 25.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.327, allocations: 199.6 kB / 467.2 MB, free: 25.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3271, allocations: 108.7 kB / 467.3 MB, free: 24.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.3279, allocations: 496.2 kB / 467.8 MB, free: 24.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.3279, allocations: 4 kB / 467.8 MB, free: 24.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3279, allocations: 0 / 467.8 MB, free: 24.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.3279, allocations: 1.188 kB / 467.8 MB, free: 24.84 MB / 350.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.001224/0.3291, allocations: 0.6914 MB / 468.5 MB, free: 24.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3292, allocations: 10.81 kB / 468.5 MB, free: 24.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.3293, allocations: 82.91 kB / 468.5 MB, free: 24.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006431/0.3299, allocations: 105.2 kB / 468.6 MB, free: 24.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.3306, allocations: 400 kB / 469 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.3307, allocations: 28.72 kB / 469.1 MB, free: 23.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3308, allocations: 49.3 kB / 469.1 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3319, allocations: 0.6709 MB / 469.8 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3319, allocations: 1.312 kB / 469.8 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.332, allocations: 15.55 kB / 469.8 MB, free: 23.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.3322, allocations: 51.42 kB / 469.9 MB, free: 23.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3333, allocations: 0.6586 MB / 470.5 MB, free: 23.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.3365, allocations: 2.437 MB / 472.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.337, allocations: 355.6 kB / 473.3 MB, free: 21.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.3371, allocations: 18.42 kB / 473.3 MB, free: 21.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3371, allocations: 32.73 kB / 473.3 MB, free: 21.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.3371, allocations: 1.375 kB / 473.3 MB, free: 21.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002177/0.3393, allocations: 1.624 MB / 475 MB, free: 20.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3393, allocations: 82.72 kB / 475.1 MB, free: 20.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.3396, allocations: 284.8 kB / 475.3 MB, free: 20.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.3396, allocations: 34.98 kB / 475.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3398, allocations: 243.4 kB / 475.6 MB, free: 20.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3399, allocations: 163.3 kB / 475.8 MB, free: 19.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.3399, allocations: 10.75 kB / 475.8 MB, free: 19.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.34, allocations: 352.1 kB / 476.1 MB, free: 19.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.3403, allocations: 213.6 kB / 476.3 MB, free: 19.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.3407, allocations: 355.6 kB / 476.7 MB, free: 19.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.3411, allocations: 280.8 kB / 476.9 MB, free: 19.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3411, allocations: 1.344 kB / 476.9 MB, free: 19.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001201/0.3423, allocations: 0.7082 MB / 477.7 MB, free: 18.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3424, allocations: 6.438 kB / 477.7 MB, free: 18.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009767/0.3433, allocations: 0.5092 MB / 478.2 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.3437, allocations: 73.86 kB / 478.2 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.3441, allocations: 106.7 kB / 478.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.3457, allocations: 1.624 MB / 480 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.346, allocations: 39.11 kB / 480 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.3461, allocations: 24.41 kB / 480 MB, free: 17.21 MB / 350.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.0003915/0.3465, allocations: 214.6 kB / 480.2 MB, free: 17.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.3468, allocations: 31.94 kB / 480.3 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.3478, allocations: 0.564 MB / 480.8 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.3479, allocations: 10.75 kB / 480.8 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.3479, allocations: 0 / 480.8 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.3479, allocations: 9.422 kB / 480.9 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.3501, allocations: 1.18 MB / 482 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3501, allocations: 1.438 kB / 482 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.3505, allocations: 86.91 kB / 482.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3505, allocations: 2.531 kB / 482.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3505, allocations: 16.27 kB / 482.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3505, allocations: 3.469 kB / 482.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3506, allocations: 1.156 kB / 482.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3517, allocations: 0.9635 MB / 483.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.3518, allocations: 107.2 kB / 483.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.3518, allocations: 12 kB / 483.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.3521, allocations: 16.61 kB / 483.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.3521, allocations: 28.19 kB / 483.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.3522, allocations: 12.59 kB / 483.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.3524, allocations: 208.6 kB / 483.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3524, allocations: 0 / 483.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006235/0.353, allocations: 124 kB / 483.6 MB, free: 14.84 MB / 350.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.001308/0.3544, allocations: 1.795 MB / 485.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008379/0.3552, allocations: 0.6651 MB / 486.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3552, allocations: 0 / 486.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.3555, allocations: 259.4 kB / 486.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3559, allocations: 65.5 kB / 486.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.3597, allocations: 5.79 MB / 492.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.36, allocations: 0.8828 MB / 493.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.3603, allocations: 131.1 kB / 493.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.3605, allocations: 143.4 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3605, allocations: 0 / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.3862, allocations: 8.048 MB / 0.4896 GB, free: 13.03 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.3864, allocations: 204.8 kB / 0.4898 GB, free: 12.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.2, allocations: 0 / 0.4898 GB, free: 12.8 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat does not exist to compare? outputFormat=mat