Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.0008554/0.0008554, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.0008639/0.0008639, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 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.892/0.892, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2096/0.2096, allocations: 29.41 MB / 290.1 MB, free: 2.441 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.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.634e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003618/0.003634, allocations: 3.852 MB / 434.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004717, allocations: 0.8648 MB / 434.9 MB, free: 8.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.004856, allocations: 19.81 kB / 435 MB, free: 8.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.005001, allocations: 43.62 kB / 435 MB, free: 8.797 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000386/0.005387, allocations: 174.9 kB / 435.2 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.005524, allocations: 87.7 kB / 435.2 MB, free: 8.539 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.005817, allocations: 386.5 kB / 435.6 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.005956, allocations: 56.72 kB / 435.7 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.006221, allocations: 231.2 kB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.006408, allocations: 151.6 kB / 436.1 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.006435, allocations: 16 kB / 436.1 MB, free: 7.711 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.006458, allocations: 19.94 kB / 436.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.006527, allocations: 83.73 kB / 436.2 MB, free: 7.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.006603, allocations: 83.77 kB / 436.3 MB, free: 7.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.006839, allocations: 255.1 kB / 436.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.00684, allocations: 0 / 436.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.006842, allocations: 8 kB / 436.5 MB, free: 7.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.006846, allocations: 0 / 436.5 MB, free: 7.27 MB / 410.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.0006087/0.007455, allocations: 0.4905 MB / 437 MB, free: 6.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.007494, allocations: 15.98 kB / 437 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.007535, allocations: 50.73 kB / 437.1 MB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.007576, allocations: 36.73 kB / 437.1 MB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.007917, allocations: 256.3 kB / 437.4 MB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.007933, allocations: 16.88 kB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.007963, allocations: 24.06 kB / 437.4 MB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.008239, allocations: 274.7 kB / 437.7 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.008251, allocations: 3.938 kB / 437.7 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.008267, allocations: 8 kB / 437.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.008274, allocations: 7.938 kB / 437.7 MB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.008517, allocations: 159.8 kB / 437.8 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.009332, allocations: 1.094 MB / 438.9 MB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.009439, allocations: 81.11 kB / 439 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.009472, allocations: 25.81 kB / 439 MB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.009485, allocations: 4 kB / 439 MB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.009505, allocations: 34.56 kB / 439.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.009506, allocations: 0 / 439.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004979/0.01, allocations: 340.5 kB / 439.4 MB, free: 4.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.01017, allocations: 81.11 kB / 439.5 MB, free: 4.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.01032, allocations: 249.9 kB / 439.7 MB, free: 3.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.01033, allocations: 29.7 kB / 439.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.01042, allocations: 195.9 kB / 439.9 MB, free: 3.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.01044, allocations: 31.73 kB / 440 MB, free: 3.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.01048, allocations: 33.72 kB / 440 MB, free: 3.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.01055, allocations: 342.8 kB / 440.3 MB, free: 3.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.01059, allocations: 24.17 kB / 440.4 MB, free: 3.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.01066, allocations: 120.8 kB / 440.5 MB, free: 2.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.01078, allocations: 172.7 kB / 440.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.01078, allocations: 0 / 440.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00016/0.01094, allocations: 185.3 kB / 440.8 MB, free: 2.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.01095, allocations: 8 kB / 440.8 MB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01096, allocations: 4 kB / 440.9 MB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01097, allocations: 4 kB / 440.9 MB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.01107, allocations: 52.28 kB / 440.9 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01108, allocations: 8 kB / 440.9 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.01113, allocations: 4 kB / 440.9 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.01114, allocations: 15.94 kB / 440.9 MB, free: 2.445 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/0.01123, allocations: 145.8 kB / 441.1 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.01125, allocations: 23.86 kB / 441.1 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.01136, allocations: 107.3 kB / 441.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01136, allocations: 0 / 441.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01136, allocations: 3.938 kB / 441.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.01137, allocations: 0 / 441.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.01167, allocations: 394.3 kB / 441.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01167, allocations: 0 / 441.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.01172, allocations: 16 kB / 441.6 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01172, allocations: 3.938 kB / 441.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.01173, allocations: 4 kB / 441.6 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.01173, allocations: 4 kB / 441.6 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01173, allocations: 0 / 441.6 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.0119, allocations: 225 kB / 441.8 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.01192, allocations: 27.8 kB / 441.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.01193, allocations: 0 / 441.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.01198, allocations: 96 / 441.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.012, allocations: 15.98 kB / 441.9 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.012, allocations: 4 kB / 441.9 MB, free: 1.398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.805e-05/0.0121, allocations: 173.2 kB / 442.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0121, allocations: 0 / 442.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.01231, allocations: 36 kB / 442.1 MB, free: 1.195 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * 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.0002964/0.0126, allocations: 0.7569 MB / 442.8 MB, free: 416 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003443/0.01295, allocations: 84.67 kB / 442.9 MB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01295, allocations: 0 / 442.9 MB, free: 332 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.01298, allocations: 35.86 kB / 443 MB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01327, allocations: 55.45 kB / 443 MB, free: 244 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1484/0.1617, allocations: 2.247 MB / 445.3 MB, free: 52.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9e-05/0.1618, allocations: 152.9 kB / 445.4 MB, free: 52.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.824e-05/0.1619, allocations: 26.83 kB / 445.4 MB, free: 52.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.162, allocations: 75.02 kB / 445.5 MB, free: 52.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.162, allocations: 0 / 445.5 MB, free: 52.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.1802, allocations: 4.991 MB / 450.5 MB, free: 51.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.091, allocations: 16.34 kB / 450.5 MB, free: 51.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.97451272699982] Failed to read output from testmodel.py, exit status != 0: 7.175327001139522 7.185254215 7.176901051 Calling exit ...