Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001273/0.001273, 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.002669/0.002669, allocations: 216.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.691/1.691, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1854/0.1854, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_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.002055/0.002055, allocations: 67.91 kB / 492.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 62.46 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008554/0.3419, allocations: 6.533 MB / 0.5484 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.3448, allocations: 1.48 MB / 0.5498 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.3453, allocations: 34.25 kB / 0.5499 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.3458, allocations: 155.1 kB / 0.55 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009347/0.3468, allocations: 430.9 kB / 0.5504 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.3473, allocations: 217 kB / 0.5506 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.3486, allocations: 1.117 MB / 0.5517 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.3489, allocations: 221.5 kB / 0.5519 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008338/0.3498, allocations: 499.8 kB / 0.5524 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/0.3507, allocations: 0.5711 MB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.3508, allocations: 65.19 kB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3509, allocations: 66.28 kB / 0.5531 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.3512, allocations: 318.6 kB / 0.5534 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.3516, allocations: 377.3 kB / 0.5538 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009879/0.3526, allocations: 0.878 MB / 0.5546 GB, free: 7.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3526, allocations: 1.188 kB / 0.5546 GB, free: 7.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3526, allocations: 0 / 0.5546 GB, free: 7.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3526, allocations: 0 / 0.5546 GB, free: 7.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002111/0.3547, allocations: 0.9721 MB / 0.5556 GB, free: 6.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3548, allocations: 14.17 kB / 0.5556 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.3549, allocations: 103.7 kB / 0.5557 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3551, allocations: 78.19 kB / 0.5558 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3562, allocations: 0.5135 MB / 0.5563 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.3565, allocations: 228.4 kB / 0.5565 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.3566, allocations: 56.86 kB / 0.5565 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.3581, allocations: 0.7811 MB / 0.5573 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3581, allocations: 0 / 0.5573 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.115e-05/0.3581, allocations: 23.94 kB / 0.5573 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.3583, allocations: 40.91 kB / 0.5573 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.3597, allocations: 0.6947 MB / 0.558 GB, free: 3.93 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004518/0.3642, allocations: 2.645 MB / 0.5606 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.366, allocations: 0.7145 MB / 0.5613 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/0.3666, allocations: 309.5 kB / 0.5616 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3666, allocations: 7.938 kB / 0.5616 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3666, allocations: 42.56 kB / 0.5617 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/0.3666, allocations: 0 / 0.5617 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004033/0.3707, allocations: 1.649 MB / 0.5633 GB, free: 14.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.3707, allocations: 85.05 kB / 0.5633 GB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.3713, allocations: 425.9 kB / 0.5637 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.3713, allocations: 33.7 kB / 0.5638 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.3716, allocations: 328.8 kB / 0.5641 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.3717, allocations: 138.8 kB / 0.5642 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.3719, allocations: 82.19 kB / 0.5643 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3721, allocations: 358.8 kB / 0.5646 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.3726, allocations: 240.8 kB / 0.5649 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.3732, allocations: 353.6 kB / 0.5652 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3743, allocations: 0.5742 MB / 0.5658 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3743, allocations: 0 / 0.5658 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001552/0.3759, allocations: 0.7171 MB / 0.5665 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3759, allocations: 12.06 kB / 0.5665 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3759, allocations: 4 kB / 0.5665 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.3762, allocations: 73.61 kB / 0.5666 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.3776, allocations: 287.6 kB / 0.5668 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.3843, allocations: 6.099 MB / 0.5728 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.3848, allocations: 31.95 kB / 0.5728 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.3848, allocations: 23.94 kB / 0.5728 GB, free: 3.973 MB / 414.1 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004668/0.3853, allocations: 245.7 kB / 0.5731 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.3854, allocations: 51.67 kB / 0.5731 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.3868, allocations: 0.6546 MB / 0.5738 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3868, allocations: 4 kB / 0.5738 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3868, allocations: 0 / 0.5738 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3869, allocations: 3.984 kB / 0.5738 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.3896, allocations: 1.388 MB / 0.5751 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3896, allocations: 8 kB / 0.5751 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.3912, allocations: 299.6 kB / 0.5754 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.3915, allocations: 89.62 kB / 0.5755 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.3915, allocations: 8 kB / 0.5755 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/0.3944, allocations: 2.962 MB / 0.5784 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3944, allocations: 0 / 0.5784 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.3965, allocations: 1.052 MB / 0.5794 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.3967, allocations: 51.7 kB / 0.5795 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.3967, allocations: 8 kB / 0.5795 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.3971, allocations: 31.95 kB / 0.5795 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.3972, allocations: 43.88 kB / 0.5796 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.3973, allocations: 19.94 kB / 0.5796 GB, free: 12.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004059/0.3977, allocations: 291.1 kB / 0.5799 GB, free: 12.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3977, allocations: 0 / 0.5799 GB, free: 12.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007843/0.3985, allocations: 140 kB / 0.58 GB, free: 12.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002298/0.4007, allocations: 1.587 MB / 0.5815 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.4033, allocations: 0.9814 MB / 0.5825 GB, free: 9.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4034, allocations: 0 / 0.5825 GB, free: 9.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.4053, allocations: 0.7122 MB / 0.5832 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.4062, allocations: 143.9 kB / 0.5833 GB, free: 8.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008353/0.4145, allocations: 5.378 MB / 0.5886 GB, free: 3.191 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.4153, allocations: 0.9487 MB / 0.5895 GB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.4156, allocations: 92.56 kB / 0.5896 GB, free: 2.125 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.4159, allocations: 203.4 kB / 0.5898 GB, free: 1.926 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4159, allocations: 4 kB / 0.5898 GB, free: 1.922 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05195/0.4679, allocations: 13.32 MB / 0.6028 GB, free: 4.785 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.53, allocations: 8 kB / 0.6028 GB, free: 4.777 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.60760601599759] Failed to read output from testmodel.py, exit status != 0: 14.657436859997688 14.672319698 14.316627059 Calling exit ...