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.001037/0.001037, allocations: 92.12 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.001024/0.001024, allocations: 182.1 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.436/1.436, 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.1695/0.1695, allocations: 38.05 MB / 310.1 MB, free: 5.91 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.0004789/0.000479, allocations: 16 kB / 377.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 56.32 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004022/0.2385, allocations: 4.687 MB / 438.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2405, allocations: 1.641 MB / 439.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.2408, allocations: 27.81 kB / 439.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.241, allocations: 51.61 kB / 440 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.2415, allocations: 235 kB / 440.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.242, allocations: 219.6 kB / 440.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005682/0.2426, allocations: 0.8731 MB / 441.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.2433, allocations: 0.5437 MB / 441.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.2435, allocations: 207 kB / 442.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.2439, allocations: 347 kB / 442.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.244, allocations: 20 kB / 442.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.2444, allocations: 247.5 kB / 442.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.2446, allocations: 211.5 kB / 442.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.2448, allocations: 256.4 kB / 443.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.2453, allocations: 0.6346 MB / 443.7 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2453, allocations: 0 / 443.7 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.2453, allocations: 3.984 kB / 443.7 MB, free: 8.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2453, allocations: 0 / 443.7 MB, free: 8.398 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.001176/0.2465, allocations: 0.6881 MB / 444.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.2466, allocations: 8.031 kB / 444.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.2467, allocations: 90.69 kB / 444.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006474/0.2473, allocations: 96.2 kB / 444.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.2479, allocations: 399.2 kB / 445 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2479, allocations: 29.38 kB / 445 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.248, allocations: 55.91 kB / 445.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007932/0.2488, allocations: 0.6765 MB / 445.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2489, allocations: 0 / 445.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.2489, allocations: 19.88 kB / 445.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.2491, allocations: 56.95 kB / 445.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.2498, allocations: 0.6713 MB / 446.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.2524, allocations: 2.429 MB / 448.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.2528, allocations: 365.7 kB / 449.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.2531, allocations: 253.9 kB / 449.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.2532, allocations: 12.2 kB / 449.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2532, allocations: 38.78 kB / 449.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 3.005e-06/0.2532, allocations: 0 / 449.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.001785/0.255, allocations: 1.479 MB / 451.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.2551, allocations: 85.05 kB / 451.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.2553, allocations: 290.9 kB / 451.5 MB, free: 332 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2553, allocations: 29.7 kB / 451.5 MB, free: 296 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.2554, allocations: 247.7 kB / 451.7 MB, free: 44 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.2555, allocations: 157.9 kB / 451.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.2556, allocations: 49.81 kB / 451.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2558, allocations: 350.8 kB / 452.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.2561, allocations: 217 kB / 452.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.2565, allocations: 357.8 kB / 452.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007754/0.2573, allocations: 0.6278 MB / 453.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2573, allocations: 0 / 453.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001195/0.2585, allocations: 0.7234 MB / 454.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2585, allocations: 8 kB / 454.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008272/0.2593, allocations: 0.523 MB / 454.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.2597, allocations: 80.77 kB / 454.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.2601, allocations: 107.8 kB / 454.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.2617, allocations: 1.596 MB / 456.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.2619, allocations: 31.97 kB / 456.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.262, allocations: 23.98 kB / 456.5 MB, free: 10.93 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002734/0.2623, allocations: 217.6 kB / 456.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.2624, allocations: 35.53 kB / 456.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.2633, allocations: 0.5554 MB / 457.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.2633, allocations: 15.94 kB / 457.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2633, allocations: 0 / 457.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2633, allocations: 3.984 kB / 457.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.2652, allocations: 1.192 MB / 458.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.2652, allocations: 7.938 kB / 458.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.2656, allocations: 83.81 kB / 458.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2656, allocations: 4 kB / 458.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.2656, allocations: 12 kB / 458.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.2656, allocations: 7.984 kB / 458.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2656, allocations: 0 / 458.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2667, allocations: 0.9298 MB / 459.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.2668, allocations: 112.8 kB / 459.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.2668, allocations: 15.98 kB / 459.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.267, allocations: 19.97 kB / 459.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.2671, allocations: 27.83 kB / 459.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.2671, allocations: 12 kB / 459.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.2673, allocations: 201.9 kB / 460 MB, free: 7.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2673, allocations: 0 / 460 MB, free: 7.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.2678, allocations: 123.9 kB / 460.1 MB, free: 7.234 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 (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.001604/0.2694, allocations: 1.505 MB / 461.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.2705, allocations: 0.6694 MB / 462.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2705, allocations: 0 / 462.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.2708, allocations: 255.5 kB / 462.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.2714, allocations: 73.06 kB / 462.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/0.2771, allocations: 4.839 MB / 467.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.2776, allocations: 0.8821 MB / 468.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003397/0.278, allocations: 123.1 kB / 468.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.2782, allocations: 147.4 kB / 468.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 1.273e-06/0.2782, allocations: 0 / 468.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.298, allocations: 7.952 MB / 476.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.2982, allocations: 229.8 kB / 476.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.239, allocations: 4 kB / 476.8 MB, free: 6.293 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/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)