Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001285/0.001285, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001515/0.001515, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1875/0.1875, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_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.002064/0.002064, allocations: 63.91 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3271, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.00863/0.3358, allocations: 6.002 MB / 0.5478 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.3385, allocations: 1.364 MB / 0.5491 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.3388, allocations: 34.41 kB / 0.5492 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.3392, allocations: 141 kB / 0.5493 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008773/0.3401, allocations: 420.3 kB / 0.5497 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.3406, allocations: 191 kB / 0.5499 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.3418, allocations: 1.083 MB / 0.5509 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.3422, allocations: 220.7 kB / 0.5512 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007513/0.3429, allocations: 498.8 kB / 0.5516 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008662/0.3438, allocations: 0.5378 MB / 0.5522 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3439, allocations: 64.88 kB / 0.5522 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.3441, allocations: 64.88 kB / 0.5523 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.3444, allocations: 309.3 kB / 0.5526 GB, free: 8.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.3448, allocations: 301.5 kB / 0.5529 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009359/0.3458, allocations: 0.8589 MB / 0.5537 GB, free: 7.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3458, allocations: 1.094 kB / 0.5537 GB, free: 7.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3458, allocations: 0 / 0.5537 GB, free: 7.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3458, allocations: 4 kB / 0.5537 GB, free: 7.691 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.00211/0.3479, allocations: 0.9484 MB / 0.5546 GB, free: 6.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.348, allocations: 13.05 kB / 0.5546 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.3481, allocations: 99.28 kB / 0.5547 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.3482, allocations: 76.61 kB / 0.5548 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.3494, allocations: 0.5131 MB / 0.5553 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.3497, allocations: 219.5 kB / 0.5555 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.3498, allocations: 55.98 kB / 0.5556 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.3512, allocations: 0.7772 MB / 0.5563 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3512, allocations: 3.938 kB / 0.5563 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.3513, allocations: 24 kB / 0.5564 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3514, allocations: 32.97 kB / 0.5564 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.3529, allocations: 0.7259 MB / 0.5571 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.3571, allocations: 2.425 MB / 0.5595 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3587, allocations: 0.6867 MB / 0.5601 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.3594, allocations: 367.4 kB / 0.5605 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.78e-05/0.3595, allocations: 8.438 kB / 0.5605 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.3595, allocations: 39 kB / 0.5605 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/0.3595, allocations: 4 kB / 0.5605 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004402/0.3639, allocations: 1.855 MB / 0.5624 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.364, allocations: 85.55 kB / 0.5624 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/0.3645, allocations: 397.9 kB / 0.5628 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.3646, allocations: 33.7 kB / 0.5628 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3648, allocations: 297 kB / 0.5631 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.365, allocations: 186.3 kB / 0.5633 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.3652, allocations: 98.34 kB / 0.5634 GB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3654, allocations: 358.8 kB / 0.5637 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.3659, allocations: 277.1 kB / 0.564 GB, free: 13.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.3666, allocations: 378 kB / 0.5644 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.3679, allocations: 0.6528 MB / 0.565 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3679, allocations: 0 / 0.565 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001624/0.3695, allocations: 0.7954 MB / 0.5658 GB, free: 11.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3695, allocations: 11.94 kB / 0.5658 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3695, allocations: 4 kB / 0.5658 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.3698, allocations: 73.66 kB / 0.5659 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.3714, allocations: 311.7 kB / 0.5662 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006834/0.3783, allocations: 6.106 MB / 0.5721 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.3788, allocations: 43.89 kB / 0.5722 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.3789, allocations: 16 kB / 0.5722 GB, free: 4.355 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.0004824/0.3794, allocations: 248.6 kB / 0.5724 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3795, allocations: 51.67 kB / 0.5725 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.3811, allocations: 0.745 MB / 0.5732 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.3811, allocations: 12 kB / 0.5732 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3811, allocations: 0 / 0.5732 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3811, allocations: 3.984 kB / 0.5732 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.3842, allocations: 1.523 MB / 0.5747 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3842, allocations: 0 / 0.5747 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/0.3858, allocations: 323.7 kB / 0.575 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/0.3861, allocations: 85.64 kB / 0.5751 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.3862, allocations: 23.92 kB / 0.5751 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.3889, allocations: 2.943 MB / 0.578 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3889, allocations: 3.938 kB / 0.578 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.3912, allocations: 1.235 MB / 0.5792 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.3914, allocations: 47.7 kB / 0.5792 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.3915, allocations: 23.94 kB / 0.5793 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.3919, allocations: 39.95 kB / 0.5793 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.392, allocations: 47.91 kB / 0.5794 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3921, allocations: 19.94 kB / 0.5794 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003649/0.3924, allocations: 279.1 kB / 0.5796 GB, free: 12.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3924, allocations: 0 / 0.5796 GB, free: 12.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007736/0.3932, allocations: 144 kB / 0.5798 GB, free: 12.21 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.002728/0.3959, allocations: 1.793 MB / 0.5815 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.3988, allocations: 1.053 MB / 0.5826 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3989, allocations: 0 / 0.5826 GB, free: 9.281 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.401, allocations: 0.7901 MB / 0.5833 GB, free: 8.465 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009617/0.402, allocations: 144.4 kB / 0.5835 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.4133, allocations: 5.741 MB / 0.5891 GB, free: 2.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.4138, allocations: 344.8 kB / 0.5894 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00044/0.4143, allocations: 128.7 kB / 0.5895 GB, free: 1.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.4146, allocations: 199.4 kB / 0.5897 GB, free: 1.699 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4146, allocations: 0 / 0.5897 GB, free: 1.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/0.4689, allocations: 14.18 MB / 0.6036 GB, free: 3.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/13.87, allocations: 0 / 0.6036 GB, free: 3.766 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] Could not SIGINT process: 4142445. Could not SIGINT process: 4142446. Could not SIGINT process: 4142451. Could not SIGINT process: 4135551. [Calling os._exit(0), Time elapsed: 69.34726961376145] Failed to read output from testmodel.py, exit status != 0: 14.005826925858855 14.035151475 13.683858166 Calling exit ...