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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 92.33 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009576/0.0009576, allocations: 161.3 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9126/0.9126, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2215/0.2215, allocations: 29.42 MB / 290.5 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.977e-05, allocations: 2.312 kB / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00431/0.00434, allocations: 3.438 MB / 371.8 MB, free: 8.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.005861, allocations: 1.442 MB / 373.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.005992, allocations: 11.94 kB / 373.3 MB, free: 6.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.006727, allocations: 258.8 kB / 373.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.007226, allocations: 282.5 kB / 373.8 MB, free: 6.371 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.007479, allocations: 131.5 kB / 373.9 MB, free: 6.242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.007781, allocations: 350.8 kB / 374.3 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.008018, allocations: 122.1 kB / 374.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.008288, allocations: 207.3 kB / 374.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.008484, allocations: 151.5 kB / 374.7 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.008506, allocations: 12 kB / 374.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.008833, allocations: 283 kB / 375 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.008923, allocations: 107.7 kB / 375.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.008998, allocations: 75.83 kB / 375.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.009424, allocations: 374.9 kB / 375.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.009429, allocations: 0 / 375.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.009432, allocations: 0 / 375.6 MB, free: 4.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.009438, allocations: 0 / 375.6 MB, free: 4.594 MB / 346.7 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.0006148/0.01005, allocations: 460.9 kB / 376 MB, free: 4.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.0101, allocations: 11.98 kB / 376 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.01015, allocations: 54.72 kB / 376.1 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/0.01086, allocations: 152.6 kB / 376.2 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.01112, allocations: 225.3 kB / 376.5 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.01113, allocations: 12.38 kB / 376.5 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.01117, allocations: 12.38 kB / 376.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.01152, allocations: 338.6 kB / 376.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.01153, allocations: 192 / 376.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.01155, allocations: 8.125 kB / 376.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.01157, allocations: 19.98 kB / 376.8 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.01214, allocations: 303.7 kB / 377.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.01327, allocations: 1.186 MB / 378.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.01347, allocations: 149.1 kB / 378.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01358, allocations: 93.73 kB / 378.6 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.0136, allocations: 4 kB / 378.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.01363, allocations: 38.5 kB / 378.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.01363, allocations: 0 / 378.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001033/0.01466, allocations: 0.6025 MB / 379.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.01471, allocations: 81.23 kB / 379.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.01486, allocations: 202.1 kB / 379.5 MB, free: 464 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.01488, allocations: 29.7 kB / 379.5 MB, free: 428 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.01495, allocations: 152.3 kB / 379.7 MB, free: 272 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.01499, allocations: 59.48 kB / 379.7 MB, free: 212 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.01504, allocations: 53.66 kB / 379.8 MB, free: 152 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.01514, allocations: 330.8 kB / 380.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.01523, allocations: 79.95 kB / 380.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.01534, allocations: 156.4 kB / 380.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.01556, allocations: 263.4 kB / 380.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01556, allocations: 0 / 380.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003983/0.01596, allocations: 358 kB / 380.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01598, allocations: 8 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01598, allocations: 0 / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.01623, allocations: 96.7 kB / 381 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.01632, allocations: 35.92 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.01804, allocations: 2.061 MB / 383.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.01813, allocations: 15.98 kB / 383.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.01814, allocations: 12 kB / 383.2 MB, free: 12.57 MB / 362.7 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.0001007/0.01824, allocations: 153.7 kB / 383.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.01828, allocations: 39.78 kB / 383.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.01866, allocations: 314.9 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01866, allocations: 0 / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01866, allocations: 4 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01867, allocations: 0 / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.01958, allocations: 0.6853 MB / 384.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.01958, allocations: 7.984 kB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.01964, allocations: 27.92 kB / 384.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.0198, allocations: 76.78 kB / 384.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01981, allocations: 4 kB / 384.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.02112, allocations: 1.933 MB / 386.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02112, allocations: 0 / 386.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.02152, allocations: 410.5 kB / 386.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.02154, allocations: 23.91 kB / 386.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.02156, allocations: 11.94 kB / 386.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.02163, allocations: 11.92 kB / 386.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.02167, allocations: 11.98 kB / 386.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.02168, allocations: 11.98 kB / 386.9 MB, free: 8.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.856e-05/0.02176, allocations: 135.2 kB / 387 MB, free: 8.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02176, allocations: 0 / 387 MB, free: 8.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.02206, allocations: 68 kB / 387.1 MB, free: 8.441 MB / 362.7 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.0005336/0.02259, allocations: 0.9381 MB / 388 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005266/0.02312, allocations: 376.8 kB / 388.4 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.02312, allocations: 3.938 kB / 388.4 MB, free: 7.082 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.02336, allocations: 251.1 kB / 388.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.02365, allocations: 36.78 kB / 388.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.02646, allocations: 2.631 MB / 391.3 MB, free: 4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.02658, allocations: 152.5 kB / 391.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.32e-05/0.02666, allocations: 45.64 kB / 391.5 MB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.02675, allocations: 60.48 kB / 391.5 MB, free: 3.727 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02675, allocations: 0 / 391.5 MB, free: 3.727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.04851, allocations: 6.023 MB / 397.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.074, allocations: 8 kB / 397.6 MB, free: 13.79 MB / 378.7 MB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.989260893315077]