Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001383/0.001383, 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.001474/0.001474, allocations: 214.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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.1911/0.1911, allocations: 38.53 MB / 352.5 MB, free: 12.63 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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_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.002818/0.002818, allocations: 67.89 kB / 492.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3572, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009144/0.3663, allocations: 6.451 MB / 0.5483 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.3695, allocations: 1.456 MB / 0.5497 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.37, allocations: 29.88 kB / 0.5498 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.3706, allocations: 142.3 kB / 0.5499 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.3719, allocations: 420.6 kB / 0.5503 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.3725, allocations: 193.5 kB / 0.5505 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3741, allocations: 1.088 MB / 0.5515 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004392/0.3746, allocations: 225.5 kB / 0.5517 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009539/0.3755, allocations: 486 kB / 0.5522 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009742/0.3765, allocations: 0.5586 MB / 0.5528 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3766, allocations: 65.03 kB / 0.5528 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3768, allocations: 69.09 kB / 0.5529 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.3771, allocations: 307.2 kB / 0.5532 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004266/0.3776, allocations: 369.4 kB / 0.5535 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.3786, allocations: 0.853 MB / 0.5544 GB, free: 7.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3787, allocations: 0 / 0.5544 GB, free: 7.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3787, allocations: 1.469 kB / 0.5544 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.3787, allocations: 0 / 0.5544 GB, free: 7.219 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002303/0.381, allocations: 0.9491 MB / 0.5553 GB, free: 6.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.381, allocations: 14.14 kB / 0.5553 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.3812, allocations: 95.55 kB / 0.5554 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3813, allocations: 76.8 kB / 0.5555 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.3826, allocations: 0.5122 MB / 0.556 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.3828, allocations: 224.2 kB / 0.5562 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.3829, allocations: 50.53 kB / 0.5562 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3843, allocations: 0.7865 MB / 0.557 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3843, allocations: 0 / 0.557 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.3844, allocations: 24 kB / 0.557 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.3845, allocations: 32.97 kB / 0.5571 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.386, allocations: 0.7298 MB / 0.5578 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004395/0.3904, allocations: 2.557 MB / 0.5603 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.3921, allocations: 0.6945 MB / 0.5609 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/0.3928, allocations: 371.4 kB / 0.5613 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.3928, allocations: 4.438 kB / 0.5613 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3929, allocations: 39 kB / 0.5613 GB, free: 416 kB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.415e-06/0.3929, allocations: 4 kB / 0.5613 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004546/0.3974, allocations: 1.847 MB / 0.5631 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.3975, allocations: 85.48 kB / 0.5632 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.398, allocations: 398 kB / 0.5636 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.3981, allocations: 33.7 kB / 0.5636 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.3983, allocations: 297 kB / 0.5639 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.3985, allocations: 186.4 kB / 0.5641 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.3987, allocations: 102.3 kB / 0.5642 GB, free: 13.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3988, allocations: 358.8 kB / 0.5645 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/0.3994, allocations: 273.1 kB / 0.5648 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.4, allocations: 378 kB / 0.5652 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.4013, allocations: 0.6528 MB / 0.5658 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4013, allocations: 4 kB / 0.5658 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001598/0.4029, allocations: 0.7993 MB / 0.5666 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4029, allocations: 4 kB / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4029, allocations: 4 kB / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002854/0.4032, allocations: 77.67 kB / 0.5667 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.4047, allocations: 315.6 kB / 0.567 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00668/0.4114, allocations: 6.118 MB / 0.5729 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.412, allocations: 44.14 kB / 0.573 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.412, allocations: 23.94 kB / 0.573 GB, free: 3.801 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0004677/0.4125, allocations: 233.7 kB / 0.5732 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.4126, allocations: 51.67 kB / 0.5733 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.4143, allocations: 0.7528 MB / 0.574 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.4143, allocations: 4 kB / 0.574 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4143, allocations: 4 kB / 0.574 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4143, allocations: 11.92 kB / 0.574 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.4173, allocations: 1.574 MB / 0.5756 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.4173, allocations: 4 kB / 0.5756 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.4189, allocations: 319.8 kB / 0.5759 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/0.4192, allocations: 97.52 kB / 0.576 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.4192, allocations: 15.98 kB / 0.576 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.4219, allocations: 2.954 MB / 0.5789 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4219, allocations: 0 / 0.5789 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.4242, allocations: 1.239 MB / 0.5801 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.4244, allocations: 47.7 kB / 0.5801 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/0.4245, allocations: 19.94 kB / 0.5801 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.4249, allocations: 43.95 kB / 0.5802 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.425, allocations: 51.84 kB / 0.5802 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.425, allocations: 12 kB / 0.5802 GB, free: 12.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.4254, allocations: 279.1 kB / 0.5805 GB, free: 11.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4254, allocations: 0 / 0.5805 GB, free: 11.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007434/0.4261, allocations: 148 kB / 0.5807 GB, free: 11.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.002769/0.4289, allocations: 1.786 MB / 0.5824 GB, free: 9.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.4318, allocations: 1.061 MB / 0.5834 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4318, allocations: 448 / 0.5834 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.4338, allocations: 0.7897 MB / 0.5842 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008992/0.4347, allocations: 143.2 kB / 0.5843 GB, free: 7.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.4448, allocations: 5.73 MB / 0.5899 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.4456, allocations: 0.9447 MB / 0.5909 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004875/0.4461, allocations: 132.7 kB / 0.591 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.4465, allocations: 199.4 kB / 0.5912 GB, free: 488 kB / 430.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4465, allocations: 0 / 0.5912 GB, free: 488 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/0.5021, allocations: 13.51 MB / 0.6044 GB, free: 3.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.86, allocations: 2.891 kB / 0.6044 GB, free: 3.137 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.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_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.849112107003748] Failed to read output from testmodel.py, exit status != 0: 14.984598189003009 14.998847175 14.616914951 Calling exit ...