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.001301/0.001301, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001382/0.001382, allocations: 208.7 kB / 23.73 MB, free: 4.379 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.471/1.471, 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.1784/0.1784, allocations: 38.54 MB / 352.5 MB, free: 12.27 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.002127/0.002127, allocations: 67.89 kB / 492.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.306, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008735/0.3148, allocations: 6.425 MB / 0.5482 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.3189, allocations: 2.012 MB / 0.5502 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.3194, allocations: 32.62 kB / 0.5502 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.3209, allocations: 0.4998 MB / 0.5507 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.3221, allocations: 0.5702 MB / 0.5513 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.323, allocations: 364.7 kB / 0.5516 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.3246, allocations: 1.29 MB / 0.5529 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.3256, allocations: 0.5422 MB / 0.5534 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.3267, allocations: 0.5602 MB / 0.5539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.3281, allocations: 0.7823 MB / 0.5547 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.3284, allocations: 104.8 kB / 0.5548 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.3297, allocations: 0.619 MB / 0.5554 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.3302, allocations: 482.8 kB / 0.5559 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.3309, allocations: 458.2 kB / 0.5563 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.3328, allocations: 1.553 MB / 0.5578 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3329, allocations: 3.938 kB / 0.5578 GB, free: 3.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3329, allocations: 0 / 0.5578 GB, free: 3.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.3329, allocations: 0 / 0.5578 GB, free: 3.934 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.004383/0.3373, allocations: 1.322 MB / 0.5591 GB, free: 2.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.3373, allocations: 11.98 kB / 0.5591 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002632/0.3376, allocations: 143.8 kB / 0.5593 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.3389, allocations: 188.2 kB / 0.5594 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.3409, allocations: 0.619 MB / 0.56 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.3414, allocations: 333.6 kB / 0.5604 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.3417, allocations: 83.98 kB / 0.5604 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.3454, allocations: 1.406 MB / 0.5618 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.3454, allocations: 0 / 0.5618 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.3455, allocations: 31.98 kB / 0.5619 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003225/0.3459, allocations: 81.95 kB / 0.5619 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004477/0.3503, allocations: 1.518 MB / 0.5634 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.3619, allocations: 4.133 MB / 0.5674 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004343/0.3662, allocations: 1.107 MB / 0.5685 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.3687, allocations: 0.7074 MB / 0.5692 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.91e-05/0.3688, allocations: 12.66 kB / 0.5692 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.3688, allocations: 43.22 kB / 0.5693 GB, free: 7.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 5.38e-06/0.3688, allocations: 0 / 0.5693 GB, free: 7.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.01219/0.381, allocations: 3.65 MB / 0.5728 GB, free: 4.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.3811, allocations: 86.11 kB / 0.5729 GB, free: 4.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.3819, allocations: 405.8 kB / 0.5733 GB, free: 3.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.382, allocations: 41.7 kB / 0.5733 GB, free: 3.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.3824, allocations: 349.1 kB / 0.5737 GB, free: 3.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005398/0.383, allocations: 376.8 kB / 0.574 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/0.3835, allocations: 158.7 kB / 0.5742 GB, free: 2.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002874/0.3838, allocations: 374.8 kB / 0.5745 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.3857, allocations: 0.5953 MB / 0.5751 GB, free: 1.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.3879, allocations: 0.7542 MB / 0.5759 GB, free: 1.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004188/0.392, allocations: 1.387 MB / 0.5772 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.3921, allocations: 0 / 0.5772 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004736/0.3968, allocations: 1.532 MB / 0.5787 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3968, allocations: 4 kB / 0.5787 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.3968, allocations: 4 kB / 0.5787 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.3971, allocations: 36.84 kB / 0.5788 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/0.4009, allocations: 0.4955 MB / 0.5792 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008259/0.4092, allocations: 6.26 MB / 0.5854 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007522/0.4099, allocations: 88.02 kB / 0.5854 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.41, allocations: 35.98 kB / 0.5855 GB, free: 6.652 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.0005571/0.4106, allocations: 313.5 kB / 0.5858 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.4108, allocations: 75.5 kB / 0.5858 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/0.4138, allocations: 1.513 MB / 0.5873 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.99e-05/0.4139, allocations: 24 kB / 0.5873 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4139, allocations: 4 kB / 0.5874 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.4139, allocations: 11.97 kB / 0.5874 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/0.419, allocations: 2.644 MB / 0.5899 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.419, allocations: 4 kB / 0.5899 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/0.422, allocations: 0.5307 MB / 0.5905 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.4221, allocations: 36.92 kB / 0.5905 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/0.4222, allocations: 23.98 kB / 0.5905 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.4236, allocations: 1.523 MB / 0.592 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4236, allocations: 4.031 kB / 0.592 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.428, allocations: 2.464 MB / 0.5944 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.4282, allocations: 63.56 kB / 0.5945 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.4283, allocations: 28.06 kB / 0.5945 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.4289, allocations: 79.89 kB / 0.5946 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.4291, allocations: 76.45 kB / 0.5947 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.4292, allocations: 24 kB / 0.5947 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000362/0.4295, allocations: 279.1 kB / 0.5949 GB, free: 12.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4295, allocations: 0 / 0.5949 GB, free: 12.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009392/0.4305, allocations: 239.9 kB / 0.5952 GB, free: 12.45 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.004907/0.4354, allocations: 3.072 MB / 0.5982 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00461/0.44, allocations: 1.763 MB / 0.5999 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.44, allocations: 0 / 0.5999 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003134/0.4431, allocations: 1.139 MB / 0.601 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009066/0.444, allocations: 161.9 kB / 0.6012 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.4596, allocations: 8.999 MB / 0.61 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.4602, allocations: 482.2 kB / 0.6104 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007629/0.461, allocations: 273.6 kB / 0.6107 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.4615, allocations: 295.3 kB / 0.611 GB, free: 11.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4615, allocations: 0 / 0.611 GB, free: 11.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0603/0.5218, allocations: 19.56 MB / 0.6301 GB, free: 8.637 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.31, allocations: 10.97 kB / 0.6301 GB, free: 8.629 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: 69.30346096889116] Failed to read output from testmodel.py, exit status != 0: 14.44927323400043 14.473237005 14.135683004 Calling exit ...