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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_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.0009578/0.0009578, allocations: 108 kB / 16.92 MB, free: 6.332 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.001086/0.001086, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.255/1.255, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.172/0.172, allocations: 38.03 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 61.61 kB / 398.9 MB, free: 33.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08435/0.08553, allocations: 58.06 MB / 457 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005306/0.09088, allocations: 4.412 MB / 461.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.09288, allocations: 1.429 MB / 462.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.09305, allocations: 15.88 kB / 462.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009391/0.09401, allocations: 382.4 kB / 463.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.0945, allocations: 246.8 kB / 463.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.09507, allocations: 243.4 kB / 463.7 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.09561, allocations: 0.5573 MB / 464.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.09603, allocations: 281 kB / 464.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.09638, allocations: 263 kB / 464.8 MB, free: 128 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004463/0.09683, allocations: 354.9 kB / 465.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.09691, allocations: 40 kB / 465.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.09732, allocations: 235.6 kB / 465.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.09753, allocations: 243.4 kB / 465.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.09777, allocations: 246.8 kB / 465.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.09838, allocations: 0.6582 MB / 466.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09839, allocations: 0 / 466.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0984, allocations: 0 / 466.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.09841, allocations: 0 / 466.5 MB, free: 14.37 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.001255/0.09967, allocations: 0.7777 MB / 467.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.09971, allocations: 11.89 kB / 467.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.09983, allocations: 86.7 kB / 467.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005781/0.1004, allocations: 92.22 kB / 467.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.101, allocations: 407.2 kB / 467.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.101, allocations: 37.34 kB / 467.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.1011, allocations: 51.88 kB / 468 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/0.102, allocations: 0.6803 MB / 468.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.102, allocations: 4 kB / 468.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.1021, allocations: 16 kB / 468.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/0.1023, allocations: 56.89 kB / 468.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.1032, allocations: 0.6674 MB / 469.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.1063, allocations: 2.437 MB / 471.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.1068, allocations: 360 kB / 472.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.1072, allocations: 254.3 kB / 472.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.1072, allocations: 8.266 kB / 472.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1072, allocations: 38.78 kB / 472.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.1073, allocations: 0 / 472.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002111/0.1094, allocations: 1.466 MB / 473.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1094, allocations: 85.23 kB / 474 MB, free: 6.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1097, allocations: 290.8 kB / 474.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1097, allocations: 29.7 kB / 474.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1099, allocations: 247.7 kB / 474.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.11, allocations: 157.7 kB / 474.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.1102, allocations: 98.14 kB / 474.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1103, allocations: 350.8 kB / 475.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.1106, allocations: 217 kB / 475.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.111, allocations: 360.7 kB / 475.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.1118, allocations: 0.6317 MB / 476.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1118, allocations: 0 / 476.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001199/0.113, allocations: 0.7162 MB / 477.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.113, allocations: 8 kB / 477.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008216/0.1138, allocations: 0.5147 MB / 477.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/0.1142, allocations: 81.06 kB / 477.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.1146, allocations: 111.8 kB / 477.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.1161, allocations: 1.722 MB / 479.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.1164, allocations: 27.97 kB / 479.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.1165, allocations: 23.98 kB / 479.6 MB, free: 0.6523 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 (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.0002227/0.1167, allocations: 213.6 kB / 479.8 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.1168, allocations: 47.52 kB / 479.8 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008555/0.1177, allocations: 0.5629 MB / 480.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.1177, allocations: 12 kB / 480.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1177, allocations: 7.938 kB / 480.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1177, allocations: 0 / 480.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.1195, allocations: 1.203 MB / 481.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1196, allocations: 0 / 481.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.12, allocations: 83.88 kB / 481.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.12, allocations: 7.938 kB / 481.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.12, allocations: 8 kB / 481.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1201, allocations: 4 kB / 481.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1201, allocations: 3.938 kB / 481.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.1212, allocations: 0.9259 MB / 482.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.1213, allocations: 108.7 kB / 482.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.1214, allocations: 12 kB / 482.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1216, allocations: 15.98 kB / 482.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.1217, allocations: 35.84 kB / 482.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.1217, allocations: 15.98 kB / 482.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1219, allocations: 194 kB / 483 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1219, allocations: 0 / 483 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005052/0.1224, allocations: 128 kB / 483.1 MB, free: 12.95 MB / 366.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.00156/0.124, allocations: 1.498 MB / 484.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.1252, allocations: 0.7814 MB / 485.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1252, allocations: 0 / 485.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.1256, allocations: 271.4 kB / 485.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.1261, allocations: 65.42 kB / 485.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.1319, allocations: 4.577 MB / 490.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.1324, allocations: 0.8782 MB / 491.2 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003574/0.1328, allocations: 135.1 kB / 491.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.133, allocations: 147.4 kB / 491.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.133, allocations: 0 / 491.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.1638, allocations: 8.387 MB / 499.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.67, allocations: 0 / 499.9 MB, free: 12.03 MB / 382.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)