Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001723/0.001723, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001532/0.001532, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.1872/0.1872, allocations: 38.52 MB / 352.5 MB, free: 12.53 MB / 286.1 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.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 492.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 62.47 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005826/0.3461, allocations: 4.229 MB / 0.5461 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3476, allocations: 0.8973 MB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3477, allocations: 15.5 kB / 0.547 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.3479, allocations: 46.92 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.3483, allocations: 168 kB / 0.5472 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.3485, allocations: 85.55 kB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.349, allocations: 404.7 kB / 0.5477 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.3492, allocations: 79.56 kB / 0.5478 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.3495, allocations: 183 kB / 0.548 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.3498, allocations: 190.7 kB / 0.5481 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.3499, allocations: 20.25 kB / 0.5482 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.613e-05/0.3499, allocations: 20.44 kB / 0.5482 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.35, allocations: 93.44 kB / 0.5483 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.3502, allocations: 138.1 kB / 0.5484 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.3505, allocations: 288.7 kB / 0.5487 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3505, allocations: 4 kB / 0.5487 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3505, allocations: 0 / 0.5487 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3506, allocations: 1.875 kB / 0.5487 GB, free: 11.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001053/0.3516, allocations: 0.5279 MB / 0.5492 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3516, allocations: 12.98 kB / 0.5492 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.569e-05/0.3517, allocations: 58.98 kB / 0.5493 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.3518, allocations: 35.36 kB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.3523, allocations: 272 kB / 0.5496 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3523, allocations: 17.28 kB / 0.5496 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.3525, allocations: 42.48 kB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004544/0.3529, allocations: 295.6 kB / 0.5499 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3529, allocations: 3.938 kB / 0.5499 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.353, allocations: 10.44 kB / 0.5499 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.353, allocations: 6.281 kB / 0.5499 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.3533, allocations: 182.7 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.3549, allocations: 1.236 MB / 0.5513 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.3552, allocations: 119.3 kB / 0.5514 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.3553, allocations: 40.28 kB / 0.5514 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3553, allocations: 9.531 kB / 0.5515 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3554, allocations: 31.94 kB / 0.5515 GB, free: 8.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.3554, allocations: 0 / 0.5515 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001009/0.3564, allocations: 469.2 kB / 0.5519 GB, free: 8.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.3565, allocations: 117 kB / 0.552 GB, free: 8.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.3567, allocations: 243.8 kB / 0.5523 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3568, allocations: 30.95 kB / 0.5523 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3569, allocations: 197.1 kB / 0.5525 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.357, allocations: 41.17 kB / 0.5525 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.3571, allocations: 43.64 kB / 0.5526 GB, free: 7.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.3572, allocations: 332.8 kB / 0.5529 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.3573, allocations: 44.7 kB / 0.5529 GB, free: 7.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3575, allocations: 125.7 kB / 0.5531 GB, free: 7.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.3577, allocations: 200.6 kB / 0.5532 GB, free: 7.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3577, allocations: 5.906 kB / 0.5532 GB, free: 7.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004516/0.3582, allocations: 226 kB / 0.5535 GB, free: 7.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3582, allocations: 5.625 kB / 0.5535 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3582, allocations: 3.438 kB / 0.5535 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.3584, allocations: 35.31 kB / 0.5535 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.3587, allocations: 58.42 kB / 0.5536 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.3587, allocations: 12.39 kB / 0.5536 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.3588, allocations: 12.5 kB / 0.5536 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.3589, allocations: 13.56 kB / 0.5536 GB, free: 7.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.3591, allocations: 150.5 kB / 0.5537 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.3591, allocations: 20.98 kB / 0.5538 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.3594, allocations: 146 kB / 0.5539 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.3594, allocations: 6.125 kB / 0.5539 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3594, allocations: 5.109 kB / 0.5539 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3594, allocations: 1.188 kB / 0.5539 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.3598, allocations: 257.9 kB / 0.5542 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3598, allocations: 1 kB / 0.5542 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.36, allocations: 30.27 kB / 0.5542 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.36, allocations: 1.125 kB / 0.5542 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.36, allocations: 1.875 kB / 0.5542 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.36, allocations: 6.328 kB / 0.5542 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.36, allocations: 7.969 kB / 0.5542 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.3604, allocations: 367.9 kB / 0.5546 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.3605, allocations: 21.64 kB / 0.5546 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.3605, allocations: 6.531 kB / 0.5546 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3607, allocations: 5.188 kB / 0.5546 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.3607, allocations: 7.922 kB / 0.5546 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3607, allocations: 11.83 kB / 0.5546 GB, free: 6.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3609, allocations: 168.8 kB / 0.5548 GB, free: 6.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3609, allocations: 64 / 0.5548 GB, free: 6.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.3613, allocations: 48.56 kB / 0.5548 GB, free: 6.039 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0007504/0.362, allocations: 0.899 MB / 0.5557 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3623, allocations: 130.4 kB / 0.5558 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3623, allocations: 5.469 kB / 0.5558 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.3624, allocations: 46.58 kB / 0.5559 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.363, allocations: 52 kB / 0.5559 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.3666, allocations: 2.63 MB / 0.5585 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.367, allocations: 0.7741 MB / 0.5592 GB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.3671, allocations: 30.22 kB / 0.5593 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3673, allocations: 87.41 kB / 0.5594 GB, free: 2.008 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3673, allocations: 0 / 0.5594 GB, free: 2.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.4062, allocations: 5.075 MB / 0.5643 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.94, allocations: 6.5 kB / 0.5643 GB, free: 13.07 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000270051 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadDC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.983735456000431] Failed to read output from testmodel.py, exit status != 0: 12.063577485998394 12.09423854 11.737814298 Calling exit ...