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.001375/0.001375, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001731/0.001731, allocations: 210.2 kB / 23.73 MB, free: 4.523 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.1887/0.1887, allocations: 38.55 MB / 352.5 MB, free: 12.36 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.002174/0.002174, allocations: 59.91 kB / 492.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3235, allocations: 62.46 MB / 0.5419 GB, free: 292 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008748/0.3323, allocations: 6.08 MB / 0.5479 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.3354, allocations: 1.39 MB / 0.5492 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.3359, allocations: 35.09 kB / 0.5493 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.3364, allocations: 150.5 kB / 0.5494 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009917/0.3374, allocations: 431.5 kB / 0.5498 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.338, allocations: 210.1 kB / 0.55 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.3395, allocations: 1.12 MB / 0.5511 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.3399, allocations: 221.9 kB / 0.5513 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009899/0.3409, allocations: 0.4885 MB / 0.5518 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009383/0.3419, allocations: 0.5738 MB / 0.5524 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.342, allocations: 66.12 kB / 0.5524 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.3421, allocations: 65.88 kB / 0.5525 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.3425, allocations: 326.9 kB / 0.5528 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.3429, allocations: 305.6 kB / 0.5531 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3439, allocations: 0.8806 MB / 0.554 GB, free: 7.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3439, allocations: 5 kB / 0.554 GB, free: 7.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3439, allocations: 4 kB / 0.554 GB, free: 7.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3439, allocations: 0 / 0.554 GB, free: 7.523 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.002189/0.3461, allocations: 0.9647 MB / 0.5549 GB, free: 6.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3462, allocations: 14.58 kB / 0.5549 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.3463, allocations: 103.6 kB / 0.555 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.3465, allocations: 78.03 kB / 0.5551 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.3476, allocations: 0.5116 MB / 0.5556 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.3479, allocations: 231.4 kB / 0.5558 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.348, allocations: 55.95 kB / 0.5559 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.3494, allocations: 0.785 MB / 0.5566 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3494, allocations: 4 kB / 0.5566 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.3495, allocations: 23.94 kB / 0.5567 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.3496, allocations: 40.91 kB / 0.5567 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.351, allocations: 0.6908 MB / 0.5574 GB, free: 4.336 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.00421/0.3552, allocations: 2.509 MB / 0.5598 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.3569, allocations: 0.6921 MB / 0.5605 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.3575, allocations: 316.4 kB / 0.5608 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.3576, allocations: 4 kB / 0.5608 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3576, allocations: 42.55 kB / 0.5608 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.725e-06/0.3576, allocations: 0 / 0.5608 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004012/0.3616, allocations: 1.657 MB / 0.5625 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.3617, allocations: 85.05 kB / 0.5625 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.3623, allocations: 429.8 kB / 0.563 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.3624, allocations: 33.73 kB / 0.563 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.3627, allocations: 324.8 kB / 0.5633 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.3628, allocations: 146.7 kB / 0.5634 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.363, allocations: 86.14 kB / 0.5635 GB, free: 13.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3632, allocations: 354.8 kB / 0.5639 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.3637, allocations: 248.8 kB / 0.5641 GB, free: 13.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.3643, allocations: 349.6 kB / 0.5644 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3653, allocations: 0.5742 MB / 0.565 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3653, allocations: 0 / 0.565 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001594/0.3669, allocations: 0.7169 MB / 0.5657 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.3669, allocations: 11.12 kB / 0.5657 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.367, allocations: 4 kB / 0.5657 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.3673, allocations: 85.58 kB / 0.5658 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3687, allocations: 279.8 kB / 0.566 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007187/0.3759, allocations: 6.087 MB / 0.572 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.3765, allocations: 35.95 kB / 0.572 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.3766, allocations: 23.94 kB / 0.572 GB, free: 4.52 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.0005039/0.3771, allocations: 229.7 kB / 0.5723 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3772, allocations: 47.72 kB / 0.5723 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.3786, allocations: 0.6624 MB / 0.573 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3786, allocations: 4 kB / 0.573 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3786, allocations: 0 / 0.573 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3786, allocations: 3.984 kB / 0.573 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.3812, allocations: 1.333 MB / 0.5743 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3812, allocations: 0 / 0.5743 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.3828, allocations: 299.6 kB / 0.5746 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.3831, allocations: 93.58 kB / 0.5746 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.3832, allocations: 8 kB / 0.5747 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/0.3859, allocations: 2.958 MB / 0.5775 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3859, allocations: 3.938 kB / 0.5775 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.3879, allocations: 1.052 MB / 0.5786 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.3881, allocations: 43.7 kB / 0.5786 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.3881, allocations: 11.94 kB / 0.5786 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.3885, allocations: 35.95 kB / 0.5787 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3886, allocations: 43.81 kB / 0.5787 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3886, allocations: 12 kB / 0.5787 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003506/0.389, allocations: 299.1 kB / 0.579 GB, free: 13.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.389, allocations: 0 / 0.579 GB, free: 13.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007223/0.3897, allocations: 136 kB / 0.5791 GB, free: 12.92 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.002257/0.3919, allocations: 1.591 MB / 0.5807 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.3946, allocations: 0.9736 MB / 0.5816 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3946, allocations: 0 / 0.5816 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.3966, allocations: 0.716 MB / 0.5823 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.3975, allocations: 148 kB / 0.5825 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/0.4059, allocations: 5.355 MB / 0.5877 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.4063, allocations: 357.2 kB / 0.588 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003126/0.4066, allocations: 96.56 kB / 0.5881 GB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.4069, allocations: 203.3 kB / 0.5883 GB, free: 3.16 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4069, allocations: 0 / 0.5883 GB, free: 3.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05532/0.4623, allocations: 14.32 MB / 0.6023 GB, free: 5.082 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/13.99, allocations: 3.984 kB / 0.6023 GB, free: 5.078 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: 43.20628586388193] Failed to read output from testmodel.py, exit status != 0: 14.14090657304041 14.156562265 13.809357854 Calling exit ...