Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.001747/0.001747, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001557/0.001557, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1891/0.1891, allocations: 38.55 MB / 352.5 MB, free: 12.28 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.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_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.002114/0.002114, allocations: 67.89 kB / 492.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.317, allocations: 62.46 MB / 0.5419 GB, free: 220 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009057/0.326, allocations: 6.482 MB / 0.5483 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003897/0.3299, allocations: 2.047 MB / 0.5503 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.3303, allocations: 34.88 kB / 0.5503 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.3317, allocations: 0.4982 MB / 0.5508 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.3329, allocations: 0.563 MB / 0.5513 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.3339, allocations: 370.9 kB / 0.5517 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.3353, allocations: 1.304 MB / 0.553 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007764/0.3361, allocations: 0.5362 MB / 0.5535 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008771/0.337, allocations: 0.5698 MB / 0.554 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.3381, allocations: 0.6999 MB / 0.5547 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.3383, allocations: 99.69 kB / 0.5548 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.3394, allocations: 0.5314 MB / 0.5553 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005719/0.34, allocations: 462.9 kB / 0.5558 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005758/0.3405, allocations: 442.2 kB / 0.5562 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.3425, allocations: 1.499 MB / 0.5577 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3425, allocations: 3.938 kB / 0.5577 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3425, allocations: 0 / 0.5577 GB, free: 4.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.3425, allocations: 0 / 0.5577 GB, free: 4.07 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003091/0.3456, allocations: 1.291 MB / 0.5589 GB, free: 2.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.3456, allocations: 15.98 kB / 0.5589 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.3458, allocations: 147.7 kB / 0.5591 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.3468, allocations: 184.2 kB / 0.5593 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.3482, allocations: 0.6136 MB / 0.5599 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.3486, allocations: 337.6 kB / 0.5602 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.3488, allocations: 91.91 kB / 0.5603 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.3512, allocations: 1.356 MB / 0.5616 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.3512, allocations: 7.938 kB / 0.5616 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.576e-05/0.3513, allocations: 35.98 kB / 0.5616 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.3515, allocations: 61.97 kB / 0.5617 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.354, allocations: 1.288 MB / 0.563 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008557/0.3626, allocations: 4.622 MB / 0.5675 GB, free: 9.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.365, allocations: 1.013 MB / 0.5685 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.3661, allocations: 0.5813 MB / 0.569 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.3662, allocations: 8.656 kB / 0.569 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3662, allocations: 47.16 kB / 0.5691 GB, free: 8.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.826e-06/0.3662, allocations: 0 / 0.5691 GB, free: 8.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006389/0.3726, allocations: 2.964 MB / 0.572 GB, free: 5.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.3727, allocations: 81.77 kB / 0.5721 GB, free: 4.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.3733, allocations: 477.8 kB / 0.5725 GB, free: 4.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.3734, allocations: 33.7 kB / 0.5725 GB, free: 4.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.3737, allocations: 412.3 kB / 0.5729 GB, free: 3.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.374, allocations: 265.7 kB / 0.5732 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.3742, allocations: 150.6 kB / 0.5733 GB, free: 3.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3745, allocations: 378.8 kB / 0.5737 GB, free: 3.191 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/0.3754, allocations: 0.4938 MB / 0.5742 GB, free: 2.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.3766, allocations: 0.6872 MB / 0.5748 GB, free: 1.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.3788, allocations: 1.216 MB / 0.576 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3788, allocations: 0 / 0.576 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00473/0.3836, allocations: 1.887 MB / 0.5779 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.3836, allocations: 11.94 kB / 0.5779 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004094/0.3877, allocations: 1.627 MB / 0.5795 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.3896, allocations: 0.6572 MB / 0.5801 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.3902, allocations: 151.8 kB / 0.5803 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/0.403, allocations: 7.148 MB / 0.5872 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.4038, allocations: 71.91 kB / 0.5873 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.4039, allocations: 32 kB / 0.5873 GB, free: 4.816 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005141/0.4044, allocations: 311.4 kB / 0.5876 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.4045, allocations: 63.67 kB / 0.5877 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.4071, allocations: 1.23 MB / 0.5889 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.4072, allocations: 16 kB / 0.5889 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4072, allocations: 3.984 kB / 0.5889 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4072, allocations: 4 kB / 0.5889 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.4116, allocations: 2.201 MB / 0.5911 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.4116, allocations: 4 kB / 0.5911 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002747/0.4143, allocations: 499.4 kB / 0.5916 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.4145, allocations: 44.83 kB / 0.5916 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.4145, allocations: 12 kB / 0.5916 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.416, allocations: 1.519 MB / 0.5931 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.416, allocations: 0 / 0.5931 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.4197, allocations: 1.943 MB / 0.595 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.4198, allocations: 63.56 kB / 0.5951 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/0.4199, allocations: 16 kB / 0.5951 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.4205, allocations: 63.91 kB / 0.5951 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.4207, allocations: 68.42 kB / 0.5952 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.4207, allocations: 19.98 kB / 0.5952 GB, free: 12.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004555/0.4212, allocations: 314.9 kB / 0.5955 GB, free: 12.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4212, allocations: 0 / 0.5955 GB, free: 12.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001092/0.4223, allocations: 243.9 kB / 0.5957 GB, free: 11.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.004003/0.4263, allocations: 2.506 MB / 0.5982 GB, free: 9.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003395/0.4297, allocations: 1.509 MB / 0.5997 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.4297, allocations: 448 / 0.5997 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.4325, allocations: 0.9744 MB / 0.6006 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/0.4335, allocations: 157.8 kB / 0.6008 GB, free: 6.754 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.4513, allocations: 9.287 MB / 0.6098 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.4519, allocations: 473.8 kB / 0.6103 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000627/0.4525, allocations: 217.5 kB / 0.6105 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/0.453, allocations: 291.3 kB / 0.6108 GB, free: 12.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.453, allocations: 0 / 0.6108 GB, free: 12.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/0.5153, allocations: 20.91 MB / 0.6312 GB, free: 7.543 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.34, allocations: 3.938 kB / 0.6312 GB, free: 7.539 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 39.20365477679297] Failed to read output from testmodel.py, exit status != 0: 14.476624612696469 14.506797935 14.158768396 Calling exit ...