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.001359/0.001359, 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.001413/0.001413, 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.613/1.613, allocations: 230.6 MB / 257.5 MB, free: 8 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.1987/0.1987, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.002001/0.002001, allocations: 71.89 kB / 492.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3682, allocations: 62.46 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00928/0.3775, allocations: 6.984 MB / 0.5488 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004674/0.3821, allocations: 2.193 MB / 0.551 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.3827, allocations: 39.28 kB / 0.551 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.3843, allocations: 0.5347 MB / 0.5515 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.3858, allocations: 0.5541 MB / 0.5521 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3868, allocations: 378.8 kB / 0.5524 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.3885, allocations: 1.309 MB / 0.5537 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008051/0.3893, allocations: 0.5408 MB / 0.5542 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.3903, allocations: 0.5646 MB / 0.5548 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.3915, allocations: 0.7321 MB / 0.5555 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.3917, allocations: 98.66 kB / 0.5556 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.393, allocations: 0.5524 MB / 0.5561 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.3935, allocations: 479 kB / 0.5566 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006272/0.3942, allocations: 0.5094 MB / 0.5571 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.3961, allocations: 1.479 MB / 0.5585 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3962, allocations: 0 / 0.5585 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3962, allocations: 0 / 0.5585 GB, free: 3.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3962, allocations: 0 / 0.5585 GB, free: 3.527 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.002949/0.3991, allocations: 1.301 MB / 0.5598 GB, free: 2.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3992, allocations: 15.62 kB / 0.5598 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/0.3994, allocations: 151.6 kB / 0.56 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.4003, allocations: 180.2 kB / 0.5601 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.4017, allocations: 0.6174 MB / 0.5607 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.402, allocations: 333.6 kB / 0.5611 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/0.4022, allocations: 91.97 kB / 0.5611 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.4045, allocations: 1.362 MB / 0.5625 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.4045, allocations: 7.938 kB / 0.5625 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.4046, allocations: 32 kB / 0.5625 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.4048, allocations: 61.97 kB / 0.5626 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/0.4072, allocations: 1.296 MB / 0.5638 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007905/0.4151, allocations: 4.84 MB / 0.5686 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.4173, allocations: 1.015 MB / 0.5696 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.4185, allocations: 0.5736 MB / 0.5701 GB, free: 7.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-05/0.4186, allocations: 8.656 kB / 0.5701 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.4186, allocations: 43.22 kB / 0.5702 GB, free: 7.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 4.519e-06/0.4186, allocations: 0 / 0.5702 GB, free: 7.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006374/0.425, allocations: 2.972 MB / 0.5731 GB, free: 4.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.4251, allocations: 85.77 kB / 0.5731 GB, free: 4.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.4257, allocations: 469.9 kB / 0.5736 GB, free: 3.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.4258, allocations: 33.7 kB / 0.5736 GB, free: 3.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.4262, allocations: 404.4 kB / 0.574 GB, free: 3.215 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.4264, allocations: 265.7 kB / 0.5743 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.4267, allocations: 146.6 kB / 0.5744 GB, free: 2.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.4269, allocations: 382.8 kB / 0.5748 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009418/0.4279, allocations: 0.4938 MB / 0.5753 GB, free: 1.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.429, allocations: 0.6795 MB / 0.5759 GB, free: 1.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.4312, allocations: 1.224 MB / 0.5771 GB, free: 15.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4312, allocations: 7.938 kB / 0.5771 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00476/0.4359, allocations: 1.895 MB / 0.579 GB, free: 13.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.436, allocations: 11.94 kB / 0.579 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003915/0.4399, allocations: 1.619 MB / 0.5806 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.4417, allocations: 0.6534 MB / 0.5812 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.4424, allocations: 155.7 kB / 0.5814 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.4545, allocations: 7.21 MB / 0.5884 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.4553, allocations: 75.91 kB / 0.5885 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.4553, allocations: 28 kB / 0.5885 GB, free: 3.969 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.0005212/0.4559, allocations: 305.7 kB / 0.5888 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.456, allocations: 71.56 kB / 0.5889 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.4585, allocations: 1.215 MB / 0.59 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.4585, allocations: 23.98 kB / 0.5901 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4585, allocations: 4 kB / 0.5901 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4585, allocations: 3.984 kB / 0.5901 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/0.4627, allocations: 2.302 MB / 0.5923 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4627, allocations: 4 kB / 0.5923 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/0.4654, allocations: 499.4 kB / 0.5928 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.4655, allocations: 36.78 kB / 0.5928 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.4655, allocations: 16 kB / 0.5928 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.467, allocations: 1.523 MB / 0.5943 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.467, allocations: 8.016 kB / 0.5943 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.4705, allocations: 1.943 MB / 0.5962 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4707, allocations: 59.64 kB / 0.5963 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4708, allocations: 23.98 kB / 0.5963 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.4713, allocations: 55.92 kB / 0.5964 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.4714, allocations: 64.53 kB / 0.5964 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.4715, allocations: 31.88 kB / 0.5965 GB, free: 11.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003965/0.4719, allocations: 318.9 kB / 0.5968 GB, free: 11.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4719, allocations: 0 / 0.5968 GB, free: 11.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001019/0.4729, allocations: 235.9 kB / 0.597 GB, free: 11.03 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.003946/0.4769, allocations: 2.502 MB / 0.5994 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.4799, allocations: 1.509 MB / 0.6009 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4799, allocations: 0 / 0.6009 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.4826, allocations: 0.9633 MB / 0.6019 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008995/0.4835, allocations: 172.4 kB / 0.602 GB, free: 5.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.5009, allocations: 9.295 MB / 0.6111 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/0.5017, allocations: 1.063 MB / 0.6121 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000609/0.5023, allocations: 217.5 kB / 0.6123 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.5028, allocations: 291.3 kB / 0.6126 GB, free: 10.64 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5028, allocations: 0 / 0.6126 GB, free: 10.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07658/0.5793, allocations: 21.23 MB / 0.6334 GB, free: 5.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.63, allocations: 3.938 kB / 0.6334 GB, free: 5.586 MB / 478.1 MB " [Timeout remaining time 645] (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: 18.245091386997956] Failed to read output from testmodel.py, exit status != 0: 14.75361195900041 14.769559926 14.370169213 Calling exit ...