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.00131/0.00131, 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.001439/0.001439, allocations: 213.4 kB / 23.72 MB, free: 4.531 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1866/0.1866, allocations: 38.54 MB / 352.5 MB, free: 12.31 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.00207/0.00207, allocations: 67.91 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3078, allocations: 62.45 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008782/0.3166, allocations: 6.49 MB / 0.5483 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.3206, allocations: 2.039 MB / 0.5503 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.3211, allocations: 36.38 kB / 0.5503 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.3227, allocations: 0.5053 MB / 0.5508 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.3241, allocations: 0.5581 MB / 0.5513 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3251, allocations: 380.2 kB / 0.5517 GB, free: 8.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.3267, allocations: 1.309 MB / 0.553 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008805/0.3276, allocations: 0.5392 MB / 0.5535 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3286, allocations: 0.5658 MB / 0.5541 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.33, allocations: 0.7302 MB / 0.5548 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003031/0.3303, allocations: 100.1 kB / 0.5549 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.3317, allocations: 0.5284 MB / 0.5554 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007603/0.3324, allocations: 474.8 kB / 0.5558 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009715/0.3334, allocations: 446.1 kB / 0.5563 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.3355, allocations: 1.491 MB / 0.5577 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3356, allocations: 0 / 0.5577 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3356, allocations: 4 kB / 0.5577 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.084e-05/0.3356, allocations: 0 / 0.5577 GB, free: 4.059 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.003212/0.3388, allocations: 1.291 MB / 0.559 GB, free: 2.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3388, allocations: 11.98 kB / 0.559 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.339, allocations: 147.7 kB / 0.5591 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009658/0.34, allocations: 188.1 kB / 0.5593 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.3413, allocations: 0.6174 MB / 0.5599 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.3417, allocations: 333.6 kB / 0.5602 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.3419, allocations: 84 kB / 0.5603 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.3443, allocations: 1.368 MB / 0.5617 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.3443, allocations: 4 kB / 0.5617 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.3444, allocations: 32 kB / 0.5617 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/0.3446, allocations: 65.95 kB / 0.5617 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.3471, allocations: 1.292 MB / 0.563 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00735/0.3545, allocations: 4.614 MB / 0.5675 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.3568, allocations: 1.016 MB / 0.5685 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.3579, allocations: 0.5764 MB / 0.5691 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.358, allocations: 12.64 kB / 0.5691 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.358, allocations: 39.22 kB / 0.5691 GB, free: 8.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.836e-06/0.358, allocations: 0 / 0.5691 GB, free: 8.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006296/0.3643, allocations: 2.971 MB / 0.572 GB, free: 4.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/0.3644, allocations: 89.77 kB / 0.5721 GB, free: 4.891 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.3651, allocations: 473.8 kB / 0.5726 GB, free: 4.418 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/0.3651, allocations: 37.7 kB / 0.5726 GB, free: 4.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.3654, allocations: 408.3 kB / 0.573 GB, free: 3.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.3657, allocations: 269.7 kB / 0.5732 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.366, allocations: 146.7 kB / 0.5734 GB, free: 3.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3662, allocations: 378.8 kB / 0.5737 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009767/0.3671, allocations: 0.4938 MB / 0.5742 GB, free: 2.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.3683, allocations: 0.6872 MB / 0.5749 GB, free: 1.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.3705, allocations: 1.209 MB / 0.5761 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3705, allocations: 4 kB / 0.5761 GB, free: 0.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00472/0.3752, allocations: 1.895 MB / 0.5779 GB, free: 14.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.3753, allocations: 16.41 kB / 0.5779 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004143/0.3794, allocations: 1.623 MB / 0.5795 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.3813, allocations: 0.6611 MB / 0.5802 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.3819, allocations: 151.7 kB / 0.5803 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.3946, allocations: 7.139 MB / 0.5873 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007042/0.3953, allocations: 75.91 kB / 0.5874 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.3954, allocations: 35.98 kB / 0.5874 GB, free: 4.789 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.0004885/0.3958, allocations: 309.6 kB / 0.5877 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.396, allocations: 63.58 kB / 0.5878 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.3985, allocations: 1.222 MB / 0.5889 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.3986, allocations: 12 kB / 0.589 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3986, allocations: 0 / 0.589 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.3986, allocations: 3.984 kB / 0.589 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/0.4028, allocations: 2.213 MB / 0.5911 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4029, allocations: 4 kB / 0.5911 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/0.4057, allocations: 491.4 kB / 0.5916 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.4058, allocations: 44.83 kB / 0.5916 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.4059, allocations: 16 kB / 0.5917 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.4073, allocations: 1.523 MB / 0.5931 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4073, allocations: 0 / 0.5931 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/0.4108, allocations: 1.947 MB / 0.595 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.411, allocations: 63.56 kB / 0.5951 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.4111, allocations: 12 kB / 0.5951 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.4116, allocations: 55.92 kB / 0.5952 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.4118, allocations: 68.53 kB / 0.5952 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.4119, allocations: 19.94 kB / 0.5953 GB, free: 12.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003906/0.4123, allocations: 322.9 kB / 0.5956 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4123, allocations: 0 / 0.5956 GB, free: 12.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009657/0.4132, allocations: 235.9 kB / 0.5958 GB, free: 11.97 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.004004/0.4172, allocations: 2.502 MB / 0.5982 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.4203, allocations: 1.509 MB / 0.5997 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4203, allocations: 3.938 kB / 0.5997 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00289/0.4232, allocations: 0.9709 MB / 0.6007 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.424, allocations: 161.7 kB / 0.6008 GB, free: 6.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.4418, allocations: 9.287 MB / 0.6099 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.4425, allocations: 485.8 kB / 0.6103 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006305/0.4432, allocations: 209.5 kB / 0.6105 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/0.4437, allocations: 287.3 kB / 0.6108 GB, free: 12.18 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4437, allocations: 0 / 0.6108 GB, free: 12.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06281/0.5065, allocations: 21.25 MB / 0.6316 GB, free: 7.195 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.64, allocations: 2.5 kB / 0.6316 GB, free: 7.195 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: 40.53040219191462] Failed to read output from testmodel.py, exit status != 0: 14.774195208912715 14.79625473 14.456352205 Calling exit ...