Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.001197/0.001197, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001027/0.001027, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.374/1.374, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1776/0.1776, allocations: 38.02 MB / 329.7 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.03 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08757, allocations: 58.07 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004707/0.09232, allocations: 3.449 MB / 460.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.09441, allocations: 1.527 MB / 461.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.09459, allocations: 7.938 kB / 462 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.09541, allocations: 259 kB / 462.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.09609, allocations: 278.9 kB / 462.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.09644, allocations: 123.7 kB / 462.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.09687, allocations: 347 kB / 462.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.09717, allocations: 137.9 kB / 463.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.09744, allocations: 155.3 kB / 463.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.09771, allocations: 159.4 kB / 463.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.09775, allocations: 16 kB / 463.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.09832, allocations: 323.1 kB / 463.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.09844, allocations: 95.77 kB / 463.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.09858, allocations: 107.5 kB / 463.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.09909, allocations: 355 kB / 464.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0991, allocations: 0 / 464.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09911, allocations: 0 / 464.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.09913, allocations: 4 kB / 464.3 MB, free: 0.6172 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006958/0.09983, allocations: 0.5142 MB / 464.8 MB, free: 56 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.09988, allocations: 19.88 kB / 464.8 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.047e-05/0.09996, allocations: 50.72 kB / 464.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009522/0.1009, allocations: 100.6 kB / 464.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.1013, allocations: 267.7 kB / 465.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.1013, allocations: 16.33 kB / 465.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.1014, allocations: 16.36 kB / 465.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.1018, allocations: 329.8 kB / 465.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1019, allocations: 3.938 kB / 465.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1019, allocations: 15.98 kB / 465.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.1019, allocations: 12 kB / 465.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.1024, allocations: 315.7 kB / 465.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.1041, allocations: 1.26 MB / 467.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.1043, allocations: 161 kB / 467.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.1045, allocations: 105.7 kB / 467.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.1045, allocations: 8 kB / 467.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1046, allocations: 30.56 kB / 467.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1046, allocations: 0 / 467.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001554/0.1061, allocations: 0.6831 MB / 468.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1062, allocations: 84.98 kB / 468.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1064, allocations: 182.5 kB / 468.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1064, allocations: 29.7 kB / 468.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.1065, allocations: 160.1 kB / 468.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.1066, allocations: 59.11 kB / 468.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.1067, allocations: 45.7 kB / 468.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1068, allocations: 326.8 kB / 469 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1069, allocations: 83.95 kB / 469.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1071, allocations: 153.3 kB / 469.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.1074, allocations: 262.8 kB / 469.5 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1074, allocations: 0 / 469.5 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006098/0.108, allocations: 365.8 kB / 469.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1081, allocations: 4 kB / 469.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1081, allocations: 4 kB / 469.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.1084, allocations: 88.78 kB / 469.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1086, allocations: 39.91 kB / 470 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.111, allocations: 2.169 MB / 472.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1112, allocations: 7.984 kB / 472.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1112, allocations: 16.06 kB / 472.2 MB, free: 8.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.1114, allocations: 157.7 kB / 472.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.1114, allocations: 15.81 kB / 472.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/0.112, allocations: 323 kB / 472.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.112, allocations: 0 / 472.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.112, allocations: 7.938 kB / 472.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1121, allocations: 7.984 kB / 472.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1132, allocations: 0.7452 MB / 473.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1132, allocations: 4 kB / 473.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.1133, allocations: 31.98 kB / 473.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.1136, allocations: 72.78 kB / 473.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.1136, allocations: 8 kB / 473.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.1155, allocations: 2.037 MB / 475.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1156, allocations: 0 / 475.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.1161, allocations: 422.4 kB / 476 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.1162, allocations: 92.86 kB / 476.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1162, allocations: 7.984 kB / 476.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1164, allocations: 8 kB / 476.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1164, allocations: 19.98 kB / 476.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1164, allocations: 11.92 kB / 476.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1166, allocations: 140.3 kB / 476.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1166, allocations: 0 / 476.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004364/0.117, allocations: 68 kB / 476.3 MB, free: 3.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008433/0.1179, allocations: 0.9429 MB / 477.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007039/0.1186, allocations: 398.7 kB / 477.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1186, allocations: 0 / 477.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.119, allocations: 262.4 kB / 477.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1194, allocations: 49.5 kB / 478 MB, free: 2.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.1225, allocations: 2.608 MB / 480.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1229, allocations: 0.7636 MB / 481.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.123, allocations: 45.55 kB / 481.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.1231, allocations: 63.41 kB / 481.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1231, allocations: 0 / 481.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.15, allocations: 5.192 MB / 486.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.86, allocations: 8.047 kB / 486.6 MB, free: 9.289 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)