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.00157/0.00157, 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.002268/0.002268, allocations: 206.9 kB / 23.72 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1851/0.1851, allocations: 38.56 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.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.002229/0.002229, allocations: 71.89 kB / 492.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3759, allocations: 62.46 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008599/0.3845, allocations: 6.068 MB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.3872, allocations: 1.395 MB / 0.5492 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.3875, allocations: 33.97 kB / 0.5493 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.388, allocations: 143.6 kB / 0.5494 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008737/0.3889, allocations: 434.9 kB / 0.5498 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.3894, allocations: 213.9 kB / 0.55 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3908, allocations: 1.113 MB / 0.5511 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.3912, allocations: 217.8 kB / 0.5513 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008324/0.392, allocations: 0.4925 MB / 0.5518 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009058/0.3929, allocations: 0.5467 MB / 0.5523 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.393, allocations: 65.53 kB / 0.5524 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.3932, allocations: 65.78 kB / 0.5525 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000376/0.3936, allocations: 327.3 kB / 0.5528 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.394, allocations: 305.5 kB / 0.5531 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.395, allocations: 0.8816 MB / 0.5539 GB, free: 7.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.395, allocations: 3.938 kB / 0.5539 GB, free: 7.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.395, allocations: 0 / 0.5539 GB, free: 7.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.395, allocations: 9.016 kB / 0.5539 GB, free: 7.504 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.002143/0.3972, allocations: 0.9727 MB / 0.5549 GB, free: 6.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3972, allocations: 13.67 kB / 0.5549 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.3974, allocations: 99.23 kB / 0.555 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.3975, allocations: 77.81 kB / 0.5551 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3987, allocations: 0.5103 MB / 0.5556 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000252/0.399, allocations: 235.4 kB / 0.5558 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.3991, allocations: 55.95 kB / 0.5558 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.4005, allocations: 0.7927 MB / 0.5566 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4006, allocations: 0 / 0.5566 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.4006, allocations: 20 kB / 0.5566 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.4007, allocations: 36.97 kB / 0.5567 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.4022, allocations: 0.6908 MB / 0.5573 GB, free: 4.293 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.004418/0.4066, allocations: 2.505 MB / 0.5598 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.4083, allocations: 0.7065 MB / 0.5605 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/0.4089, allocations: 312.4 kB / 0.5608 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.409, allocations: 4 kB / 0.5608 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.409, allocations: 38.56 kB / 0.5608 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.905e-06/0.409, allocations: 0 / 0.5608 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004002/0.413, allocations: 1.649 MB / 0.5624 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.4131, allocations: 85.05 kB / 0.5625 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.4136, allocations: 429.8 kB / 0.5629 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.4136, allocations: 33.7 kB / 0.563 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.4139, allocations: 328.9 kB / 0.5633 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.414, allocations: 146.7 kB / 0.5634 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.4142, allocations: 90.14 kB / 0.5635 GB, free: 13.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4143, allocations: 362.7 kB / 0.5638 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.4148, allocations: 232.8 kB / 0.5641 GB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.4154, allocations: 349.7 kB / 0.5644 GB, free: 12.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.4165, allocations: 0.582 MB / 0.565 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4165, allocations: 0 / 0.565 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001476/0.418, allocations: 0.7169 MB / 0.5657 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.418, allocations: 8 kB / 0.5657 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.418, allocations: 4 kB / 0.5657 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.4183, allocations: 73.67 kB / 0.5657 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.4198, allocations: 291.7 kB / 0.566 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/0.4263, allocations: 6.079 MB / 0.572 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.4268, allocations: 36.06 kB / 0.572 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.4269, allocations: 23.88 kB / 0.572 GB, free: 4.488 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.0003971/0.4272, allocations: 241.6 kB / 0.5722 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.4273, allocations: 43.72 kB / 0.5723 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.4287, allocations: 0.6584 MB / 0.5729 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.4287, allocations: 4 kB / 0.5729 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4288, allocations: 4 kB / 0.5729 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4288, allocations: 0 / 0.5729 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.4314, allocations: 1.329 MB / 0.5742 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4314, allocations: 4.062 kB / 0.5742 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.433, allocations: 303.6 kB / 0.5745 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.4333, allocations: 89.53 kB / 0.5746 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.4333, allocations: 15.98 kB / 0.5746 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.4359, allocations: 2.947 MB / 0.5775 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.4359, allocations: 11.97 kB / 0.5775 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.4379, allocations: 1.048 MB / 0.5785 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4381, allocations: 51.61 kB / 0.5786 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.4382, allocations: 12.03 kB / 0.5786 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.4385, allocations: 31.97 kB / 0.5786 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4387, allocations: 39.86 kB / 0.5787 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.4387, allocations: 12 kB / 0.5787 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003785/0.4391, allocations: 295.1 kB / 0.579 GB, free: 13.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4391, allocations: 4 kB / 0.579 GB, free: 13.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007348/0.4398, allocations: 140 kB / 0.5791 GB, free: 12.88 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.00233/0.4421, allocations: 1.587 MB / 0.5807 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002787/0.4449, allocations: 0.9778 MB / 0.5816 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4449, allocations: 0 / 0.5816 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.4469, allocations: 0.7118 MB / 0.5823 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008853/0.4478, allocations: 144 kB / 0.5824 GB, free: 9.363 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00867/0.4564, allocations: 5.367 MB / 0.5877 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.4569, allocations: 349.2 kB / 0.588 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003706/0.4572, allocations: 104.4 kB / 0.5881 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.4575, allocations: 203.4 kB / 0.5883 GB, free: 3.117 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4576, allocations: 0 / 0.5883 GB, free: 3.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05482/0.5124, allocations: 14.13 MB / 0.6021 GB, free: 5.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.01, allocations: 9.906 kB / 0.6021 GB, free: 5.23 MB / 446.1 MB " [Timeout remaining time 646] (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: 41.24831337109208] Failed to read output from testmodel.py, exit status != 0: 14.13674945384264 14.153175628 13.754857757 Calling exit ...