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.0008288/0.0008288, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001066/0.001066, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9528/0.9528, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2303/0.2303, allocations: 29.41 MB / 290.1 MB, free: 2.465 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.462e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006457/0.006482, allocations: 6.434 MB / 436.7 MB, free: 7.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003833/0.01032, allocations: 2.048 MB / 438.7 MB, free: 5.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005831/0.0109, allocations: 35.69 kB / 438.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.01199, allocations: 0.5155 MB / 439.3 MB, free: 4.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.01315, allocations: 0.5634 MB / 439.8 MB, free: 3.945 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.01401, allocations: 390.9 kB / 440.2 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.01567, allocations: 1.333 MB / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009035/0.01658, allocations: 0.5333 MB / 442.1 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.01805, allocations: 0.7597 MB / 442.8 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008294/0.01888, allocations: 0.6586 MB / 443.5 MB, free: 264 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.01902, allocations: 100 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2022/0.2212, allocations: 0.5153 MB / 444.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000501/0.2217, allocations: 498.5 kB / 444.6 MB, free: 44.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.2221, allocations: 375.8 kB / 444.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.2234, allocations: 1.544 MB / 446.5 MB, free: 44.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2234, allocations: 0 / 446.5 MB, free: 44.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2234, allocations: 3.328 kB / 446.5 MB, free: 44.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.2234, allocations: 3.125 kB / 446.5 MB, free: 44.89 MB / 410.7 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.001641/0.225, allocations: 1.289 MB / 447.8 MB, free: 44.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2251, allocations: 12.36 kB / 447.8 MB, free: 44.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.2252, allocations: 142 kB / 447.9 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/0.2257, allocations: 187.8 kB / 448.1 MB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.2264, allocations: 0.616 MB / 448.7 MB, free: 44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.2266, allocations: 336.2 kB / 449.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.2267, allocations: 91.88 kB / 449.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.228, allocations: 1.359 MB / 450.5 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.228, allocations: 6.75 kB / 450.5 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.228, allocations: 37.72 kB / 450.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-05/0.2281, allocations: 58.91 kB / 450.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.2295, allocations: 1.289 MB / 451.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.233, allocations: 4.639 MB / 456.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.2341, allocations: 1.008 MB / 457.6 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/0.2347, allocations: 0.58 MB / 458.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.2347, allocations: 9.969 kB / 458.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2347, allocations: 38.38 kB / 458.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.2348, allocations: 7 kB / 458.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=73): time 0.003284/0.238, allocations: 2.967 MB / 461.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.2381, allocations: 83.89 kB / 461.2 MB, free: 38.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.2384, allocations: 480 kB / 461.7 MB, free: 38.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.2384, allocations: 36.83 kB / 461.7 MB, free: 38.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2386, allocations: 402.4 kB / 462.1 MB, free: 38.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2387, allocations: 261.9 kB / 462.4 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.2388, allocations: 147.2 kB / 462.5 MB, free: 38.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.2389, allocations: 377.7 kB / 462.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.2393, allocations: 0.5013 MB / 463.4 MB, free: 37.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.2398, allocations: 0.6801 MB / 464.1 MB, free: 37.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.2409, allocations: 1.224 MB / 465.3 MB, free: 36.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2409, allocations: 0 / 465.3 MB, free: 36.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002176/0.2431, allocations: 1.894 MB / 467.2 MB, free: 36.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2431, allocations: 8.219 kB / 467.2 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00186/0.2449, allocations: 1.622 MB / 468.8 MB, free: 35.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008869/0.2458, allocations: 0.6568 MB / 469.5 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.2461, allocations: 153.7 kB / 469.6 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/0.2515, allocations: 7.146 MB / 476.8 MB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.2519, allocations: 79.78 kB / 476.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.252, allocations: 28.56 kB / 476.9 MB, free: 31.3 MB / 410.7 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.0003215/0.2523, allocations: 316.9 kB / 477.2 MB, free: 31.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.2524, allocations: 68.94 kB / 477.3 MB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.2535, allocations: 1.213 MB / 478.5 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.2536, allocations: 15.16 kB / 478.5 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2536, allocations: 5.344 kB / 478.5 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2536, allocations: 3.703 kB / 478.5 MB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.2558, allocations: 2.208 MB / 480.7 MB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2558, allocations: 0.9375 kB / 480.7 MB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.2571, allocations: 0.4897 MB / 481.2 MB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.898e-05/0.2572, allocations: 38.34 kB / 481.2 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.2572, allocations: 16.97 kB / 481.3 MB, free: 29.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004962/0.2577, allocations: 1.512 MB / 482.8 MB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2577, allocations: 11.97 kB / 482.8 MB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.2596, allocations: 1.93 MB / 484.7 MB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.2597, allocations: 64.05 kB / 484.8 MB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.2598, allocations: 14.62 kB / 484.8 MB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.26, allocations: 65.12 kB / 484.8 MB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.2601, allocations: 67.81 kB / 484.9 MB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.2601, allocations: 19.55 kB / 484.9 MB, free: 27.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002254/0.2604, allocations: 322.1 kB / 485.2 MB, free: 27.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2604, allocations: 0 / 485.2 MB, free: 27.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007263/0.2611, allocations: 233.2 kB / 485.5 MB, free: 27.13 MB / 410.7 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.00219/0.2633, allocations: 2.508 MB / 488 MB, free: 25.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.2652, allocations: 1.509 MB / 489.5 MB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2652, allocations: 0 / 489.5 MB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.2666, allocations: 0.9695 MB / 490.5 MB, free: 24.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.2672, allocations: 164.7 kB / 490.6 MB, free: 24.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.2796, allocations: 9.133 MB / 499.8 MB, free: 20.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.2802, allocations: 483 kB / 0.4885 GB, free: 20.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005795/0.2808, allocations: 211.9 kB / 0.4887 GB, free: 20.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.2812, allocations: 287.9 kB / 0.489 GB, free: 20.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/0.2812, allocations: 1.188 kB / 0.489 GB, free: 20.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.318, allocations: 21.01 MB / 0.5095 GB, free: 6.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.681, allocations: 19.86 kB / 0.5095 GB, free: 6.16 MB / 410.7 MB " [Timeout remaining time 651] (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: 11.1928427554667] Failed to read output from testmodel.py, exit status != 0: 8.77995822392404 8.787083479 8.562026488 Calling exit ...