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.001632/0.001632, allocations: 108.3 kB / 16.92 MB, free: 5.781 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.00174/0.001741, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.357/1.357, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1774/0.1774, allocations: 38.02 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.22 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08519/0.0865, allocations: 58.06 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005648/0.09218, allocations: 4.424 MB / 461.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.09442, allocations: 1.418 MB / 462.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.09467, allocations: 23.88 kB / 462.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009771/0.09567, allocations: 370.5 kB / 463.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.09625, allocations: 242.8 kB / 463.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.0969, allocations: 247.4 kB / 463.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.09756, allocations: 0.5612 MB / 464.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004654/0.09803, allocations: 289 kB / 464.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.09847, allocations: 255 kB / 464.8 MB, free: 136 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.09906, allocations: 354.9 kB / 465.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.629e-05/0.09917, allocations: 40 kB / 465.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.09968, allocations: 235.6 kB / 465.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.09994, allocations: 247.4 kB / 465.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.1002, allocations: 250.8 kB / 465.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.1009, allocations: 0.6504 MB / 466.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.101, allocations: 3.938 kB / 466.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.101, allocations: 0 / 466.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.101, 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.001416/0.1024, allocations: 0.7777 MB / 467.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1025, allocations: 15.89 kB / 467.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.1026, allocations: 82.7 kB / 467.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006377/0.1032, allocations: 100.1 kB / 467.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.1038, allocations: 407.2 kB / 467.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1039, allocations: 29.38 kB / 467.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.104, allocations: 47.92 kB / 468 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009265/0.105, allocations: 0.6804 MB / 468.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.105, allocations: 0 / 468.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.105, allocations: 19.98 kB / 468.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.1052, allocations: 60.95 kB / 468.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009861/0.1062, allocations: 0.6635 MB / 469.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.1097, allocations: 2.433 MB / 471.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.1103, allocations: 361.7 kB / 472.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.1106, allocations: 250.3 kB / 472.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.1106, allocations: 4.281 kB / 472.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1107, allocations: 46.77 kB / 472.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.843e-06/0.1107, allocations: 0 / 472.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002225/0.1129, allocations: 1.466 MB / 473.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.113, allocations: 81.11 kB / 474 MB, free: 6.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.1133, allocations: 286.8 kB / 474.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1133, allocations: 33.7 kB / 474.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1135, allocations: 251.7 kB / 474.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1136, allocations: 157.7 kB / 474.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1138, allocations: 98.28 kB / 474.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1139, allocations: 342.8 kB / 475.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.1142, allocations: 221 kB / 475.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.1147, allocations: 361.7 kB / 475.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.1155, allocations: 0.6239 MB / 476.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1155, allocations: 4 kB / 476.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001252/0.1167, allocations: 0.7198 MB / 477.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.1168, allocations: 8 kB / 477.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008529/0.1176, allocations: 0.5191 MB / 477.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.118, allocations: 80.72 kB / 477.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.1184, allocations: 107.8 kB / 477.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.12, allocations: 1.718 MB / 479.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.1203, allocations: 39.94 kB / 479.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.1204, allocations: 24.06 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.0002434/0.1206, allocations: 213.6 kB / 479.8 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.1208, allocations: 43.47 kB / 479.8 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008774/0.1216, allocations: 0.5589 MB / 480.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.1217, allocations: 16 kB / 480.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1217, allocations: 0 / 480.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1217, allocations: 11.92 kB / 480.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.1236, allocations: 1.192 MB / 481.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1236, allocations: 4 kB / 481.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.124, allocations: 79.88 kB / 481.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.124, allocations: 4 kB / 481.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.1241, allocations: 16.09 kB / 481.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1241, allocations: 4 kB / 481.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1241, allocations: 4.078 kB / 481.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.1252, allocations: 0.9218 MB / 482.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.1253, allocations: 116.7 kB / 482.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.1254, allocations: 15.98 kB / 482.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.1256, allocations: 19.97 kB / 482.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.1257, allocations: 31.84 kB / 482.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.1257, allocations: 8 kB / 482.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1259, allocations: 201.9 kB / 483 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1259, allocations: 0 / 483 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.1264, allocations: 120 kB / 483.1 MB, free: 12.96 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.001512/0.1279, allocations: 1.502 MB / 484.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.1291, allocations: 0.777 MB / 485.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.1291, allocations: 1.125 kB / 485.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.1294, allocations: 267.4 kB / 485.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.13, allocations: 80.06 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.005485/0.1355, 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.0004482/0.1359, allocations: 0.8782 MB / 491.2 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.1363, allocations: 123.2 kB / 491.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.1365, allocations: 147.4 kB / 491.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of SimCode: time 1.693e-06/0.1365, allocations: 0 / 491.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.164, allocations: 8.4 MB / 499.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.145/9.309, allocations: 3.938 kB / 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)