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.001249/0.001249, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001301/0.001301, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.1917/0.1917, allocations: 38.5 MB / 348.7 MB, free: 2.609 MB / 270.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.002011/0.002011, allocations: 63.91 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1444, allocations: 62.42 MB / 0.5367 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01002/0.1544, allocations: 6.849 MB / 0.5434 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004744/0.1591, allocations: 2.2 MB / 0.5455 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007561/0.1599, allocations: 35.69 kB / 0.5455 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.1621, allocations: 0.5249 MB / 0.5461 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.1644, allocations: 0.556 MB / 0.5466 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.166, allocations: 367.3 kB / 0.5469 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002899/0.1689, allocations: 1.306 MB / 0.5482 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.1703, allocations: 0.5995 MB / 0.5488 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.1717, allocations: 0.5684 MB / 0.5494 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.1733, allocations: 0.7244 MB / 0.5501 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.1735, allocations: 100 kB / 0.5502 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.1752, allocations: 0.5461 MB / 0.5507 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007615/0.176, allocations: 482.7 kB / 0.5512 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009083/0.1769, allocations: 0.5134 MB / 0.5517 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.1796, allocations: 1.471 MB / 0.5531 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1796, allocations: 0 / 0.5531 GB, free: 6.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1796, allocations: 0 / 0.5531 GB, free: 6.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.458e-05/0.1797, allocations: 4 kB / 0.5531 GB, free: 6.676 MB / 414.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.004371/0.184, allocations: 1.37 MB / 0.5544 GB, free: 5.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.475e-05/0.1841, allocations: 8.031 kB / 0.5544 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003348/0.1845, allocations: 143.7 kB / 0.5546 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.1861, allocations: 188.1 kB / 0.5548 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.1885, allocations: 0.6947 MB / 0.5554 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004505/0.189, allocations: 179.4 kB / 0.5556 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.1894, allocations: 91.98 kB / 0.5557 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/0.1935, allocations: 1.362 MB / 0.557 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.1936, allocations: 0 / 0.557 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.1937, allocations: 32 kB / 0.5571 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002812/0.194, allocations: 69.91 kB / 0.5571 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.1985, allocations: 1.292 MB / 0.5584 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.2116, allocations: 4.913 MB / 0.5632 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/0.2158, allocations: 1.09 MB / 0.5643 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.2179, allocations: 0.5774 MB / 0.5648 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.218, allocations: 12.55 kB / 0.5648 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.2181, allocations: 43.11 kB / 0.5649 GB, free: 10.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 4.619e-06/0.2181, allocations: 0 / 0.5649 GB, free: 10.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=73): time 0.01139/0.2295, allocations: 3.188 MB / 0.568 GB, free: 6.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.2296, allocations: 85.7 kB / 0.5681 GB, free: 6.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/0.2306, allocations: 473.8 kB / 0.5685 GB, free: 6.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.83e-05/0.2307, allocations: 37.7 kB / 0.5686 GB, free: 6.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.2312, allocations: 400.4 kB / 0.5689 GB, free: 5.922 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.2316, allocations: 273.6 kB / 0.5692 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000448/0.2321, allocations: 150.6 kB / 0.5693 GB, free: 5.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003239/0.2324, allocations: 378.8 kB / 0.5697 GB, free: 5.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.2343, allocations: 0.4977 MB / 0.5702 GB, free: 4.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.2364, allocations: 0.6872 MB / 0.5709 GB, free: 3.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003977/0.2404, allocations: 1.224 MB / 0.5721 GB, free: 2.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2404, allocations: 4 kB / 0.5721 GB, free: 2.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004924/0.2453, allocations: 1.959 MB / 0.574 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.2453, allocations: 15.97 kB / 0.574 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004087/0.2494, allocations: 1.698 MB / 0.5756 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.2513, allocations: 0.6559 MB / 0.5763 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.252, allocations: 151.7 kB / 0.5764 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.2648, allocations: 7.412 MB / 0.5837 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/0.2657, allocations: 75.91 kB / 0.5837 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/0.2658, allocations: 32 kB / 0.5838 GB, free: 6.223 MB / 446.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.0005895/0.2664, allocations: 313.6 kB / 0.5841 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.2666, allocations: 63.58 kB / 0.5841 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.2692, allocations: 1.297 MB / 0.5854 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.2692, allocations: 12 kB / 0.5854 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2692, allocations: 0 / 0.5854 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2692, allocations: 3.984 kB / 0.5854 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004264/0.2735, allocations: 2.417 MB / 0.5878 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.2735, allocations: 0 / 0.5878 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/0.2762, allocations: 495.4 kB / 0.5882 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.2764, allocations: 40.78 kB / 0.5883 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/0.2764, allocations: 16.08 kB / 0.5883 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.286/0.5625, allocations: 1.624 MB / 0.5899 GB, free: 50.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5625, allocations: 1.312 kB / 0.5899 GB, free: 50.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003929/0.5664, allocations: 2.015 MB / 0.5919 GB, free: 50.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.5666, allocations: 136.3 kB / 0.592 GB, free: 49.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.5666, allocations: 16.73 kB / 0.592 GB, free: 49.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/0.5672, allocations: 59.02 kB / 0.5921 GB, free: 49.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.5674, allocations: 69.05 kB / 0.5921 GB, free: 49.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.5675, allocations: 18.47 kB / 0.5921 GB, free: 49.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004589/0.568, allocations: 318.4 kB / 0.5924 GB, free: 49.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.568, allocations: 0 / 0.5924 GB, free: 49.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001118/0.5691, allocations: 235.6 kB / 0.5927 GB, free: 49.83 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.003757/0.5728, allocations: 2.582 MB / 0.5952 GB, free: 48.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003161/0.576, allocations: 1.505 MB / 0.5967 GB, free: 48.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.576, allocations: 2.344 kB / 0.5967 GB, free: 48.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002877/0.5789, allocations: 0.9635 MB / 0.5976 GB, free: 47.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/0.5798, allocations: 174.9 kB / 0.5978 GB, free: 47.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/0.5993, allocations: 9.434 MB / 0.607 GB, free: 43.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008437/0.6001, allocations: 1.071 MB / 0.608 GB, free: 42.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007845/0.6009, allocations: 208.3 kB / 0.6082 GB, free: 42.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.6014, allocations: 292.2 kB / 0.6085 GB, free: 42.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.863e-06/0.6014, allocations: 0 / 0.6085 GB, free: 42.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0547/0.6561, allocations: 20.44 MB / 0.6285 GB, free: 27.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.01, allocations: 8 kB / 0.6285 GB, free: 27.4 MB / 446.1 MB " [Timeout remaining time 646] (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: 17.70311161900463] Failed to read output from testmodel.py, exit status != 0: 14.113710256991908 14.12372463 13.941694225 Calling exit ...