Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.00142/0.00142, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001871/0.001871, allocations: 211.2 kB / 23.73 MB, free: 4.391 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1849/0.1849, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",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.002205/0.002205, allocations: 71.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2938, allocations: 62.46 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008477/0.3023, allocations: 6.416 MB / 0.5482 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.306, allocations: 2.014 MB / 0.5502 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.3063, allocations: 39.06 kB / 0.5502 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.3077, allocations: 0.4936 MB / 0.5507 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.309, allocations: 0.5695 MB / 0.5512 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008524/0.3098, allocations: 372.6 kB / 0.5516 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.3111, allocations: 1.289 MB / 0.5529 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007223/0.3118, allocations: 0.5314 MB / 0.5534 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007915/0.3126, allocations: 0.5563 MB / 0.5539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000992/0.3136, allocations: 0.7548 MB / 0.5547 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.3138, allocations: 109.1 kB / 0.5548 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3148, allocations: 0.6019 MB / 0.5554 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005282/0.3153, allocations: 486.8 kB / 0.5558 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005553/0.3159, allocations: 458.2 kB / 0.5563 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.3176, allocations: 1.546 MB / 0.5578 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3176, allocations: 3.938 kB / 0.5578 GB, free: 4.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3176, allocations: 0 / 0.5578 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.3176, allocations: 4 kB / 0.5578 GB, free: 4.008 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002948/0.3206, allocations: 1.322 MB / 0.5591 GB, free: 2.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3206, allocations: 11.98 kB / 0.5591 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.3208, allocations: 151.8 kB / 0.5592 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.3216, allocations: 180.2 kB / 0.5594 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.3231, allocations: 0.6191 MB / 0.56 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.3235, allocations: 329.6 kB / 0.5603 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.3237, allocations: 91.92 kB / 0.5604 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.3262, allocations: 1.402 MB / 0.5618 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.3262, allocations: 4 kB / 0.5618 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/0.3263, allocations: 28 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.3265, allocations: 89.94 kB / 0.5619 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.3294, allocations: 1.518 MB / 0.5634 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007548/0.3369, allocations: 4.129 MB / 0.5674 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.3394, allocations: 1.105 MB / 0.5685 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.3408, allocations: 0.6997 MB / 0.5692 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/0.3409, allocations: 20.59 kB / 0.5692 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.3409, allocations: 47.2 kB / 0.5692 GB, free: 7.965 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.066e-06/0.3409, allocations: 0 / 0.5692 GB, free: 7.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007175/0.3481, allocations: 3.654 MB / 0.5728 GB, free: 4.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3482, allocations: 90.11 kB / 0.5729 GB, free: 4.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.3487, allocations: 405.8 kB / 0.5733 GB, free: 3.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.3488, allocations: 41.7 kB / 0.5733 GB, free: 3.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.349, allocations: 349.1 kB / 0.5736 GB, free: 3.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.3493, allocations: 364.8 kB / 0.574 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.3496, allocations: 162.7 kB / 0.5741 GB, free: 2.848 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.3498, allocations: 382.8 kB / 0.5745 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.351, allocations: 0.5876 MB / 0.5751 GB, free: 1.875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.3522, allocations: 0.7502 MB / 0.5758 GB, free: 1.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.3547, allocations: 1.391 MB / 0.5772 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3547, allocations: 0 / 0.5772 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00295/0.3576, allocations: 1.528 MB / 0.5787 GB, free: 14.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3576, allocations: 8 kB / 0.5787 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3576, allocations: 4 kB / 0.5787 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.3578, allocations: 37.03 kB / 0.5787 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/0.3604, allocations: 0.4993 MB / 0.5792 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007175/0.3676, allocations: 6.257 MB / 0.5853 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/0.3683, allocations: 83.78 kB / 0.5854 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.3685, allocations: 35.98 kB / 0.5854 GB, free: 6.723 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005952/0.3691, allocations: 313.5 kB / 0.5857 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.3693, allocations: 79.59 kB / 0.5858 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.3724, allocations: 1.513 MB / 0.5873 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/0.3725, allocations: 23.98 kB / 0.5873 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3725, allocations: 4 kB / 0.5873 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.3725, allocations: 3.984 kB / 0.5873 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/0.3776, allocations: 2.648 MB / 0.5899 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.3776, allocations: 4 kB / 0.5899 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/0.3805, allocations: 0.5229 MB / 0.5904 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.3806, allocations: 48.86 kB / 0.5905 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/0.3807, allocations: 20 kB / 0.5905 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.3821, allocations: 1.534 MB / 0.592 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.3821, allocations: 0 / 0.592 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004328/0.3864, allocations: 2.472 MB / 0.5944 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.3865, allocations: 59.58 kB / 0.5944 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.3867, allocations: 19.98 kB / 0.5945 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.3873, allocations: 67.91 kB / 0.5945 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.3875, allocations: 84.39 kB / 0.5946 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.3876, allocations: 24 kB / 0.5946 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.388, allocations: 283.1 kB / 0.5949 GB, free: 12.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.388, allocations: 0 / 0.5949 GB, free: 12.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008968/0.3889, allocations: 244 kB / 0.5951 GB, free: 12.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004827/0.3937, allocations: 3.066 MB / 0.5981 GB, free: 9.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004479/0.3982, allocations: 1.763 MB / 0.5998 GB, free: 7.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3982, allocations: 0 / 0.5998 GB, free: 7.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0031/0.4013, allocations: 1.139 MB / 0.601 GB, free: 6.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.4022, allocations: 156.6 kB / 0.6011 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.4179, allocations: 9.007 MB / 0.6099 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.4185, allocations: 490.2 kB / 0.6104 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008053/0.4194, allocations: 273.5 kB / 0.6106 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.4199, allocations: 291.3 kB / 0.6109 GB, free: 12.03 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4199, allocations: 0 / 0.6109 GB, free: 12.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.4786, allocations: 19.15 MB / 0.6296 GB, free: 9.113 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.08, allocations: 12 kB / 0.6296 GB, free: 9.102 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 68.83808851800859] Failed to read output from testmodel.py, exit status != 0: 14.218990324996412 14.249246274 13.92650152 Calling exit ...