Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001365/0.001365, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001431/0.001431, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.1868/0.1868, allocations: 38.53 MB / 352.5 MB, free: 12.5 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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.00206/0.00206, allocations: 67.83 kB / 492.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3352, allocations: 62.46 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009328/0.3445, allocations: 6.892 MB / 0.5487 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.349, allocations: 2.19 MB / 0.5509 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.3495, allocations: 30.81 kB / 0.5509 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.3512, allocations: 0.5306 MB / 0.5514 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.3526, allocations: 0.5657 MB / 0.552 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.3536, allocations: 359.1 kB / 0.5523 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.3555, allocations: 1.303 MB / 0.5536 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009908/0.3565, allocations: 0.5269 MB / 0.5541 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.3578, allocations: 0.5642 MB / 0.5546 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.3592, allocations: 0.7786 MB / 0.5554 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.3594, allocations: 108.8 kB / 0.5555 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.3608, allocations: 0.638 MB / 0.5561 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005432/0.3613, allocations: 488.9 kB / 0.5566 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006651/0.362, allocations: 0.529 MB / 0.5571 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.3641, allocations: 1.542 MB / 0.5586 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3641, allocations: 0 / 0.5586 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3641, allocations: 0 / 0.5586 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.3642, allocations: 0 / 0.5586 GB, free: 3.406 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003479/0.3676, allocations: 1.328 MB / 0.5599 GB, free: 2.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3677, allocations: 11.98 kB / 0.5599 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.3679, allocations: 147.8 kB / 0.5601 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/0.3688, allocations: 180.2 kB / 0.5602 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.3703, allocations: 0.6268 MB / 0.5609 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.3707, allocations: 333.6 kB / 0.5612 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.3709, allocations: 76 kB / 0.5612 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.3734, allocations: 1.422 MB / 0.5626 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.3734, allocations: 0 / 0.5626 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-05/0.3735, allocations: 32 kB / 0.5627 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/0.3738, allocations: 85.94 kB / 0.5627 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.3766, allocations: 1.515 MB / 0.5642 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007564/0.3841, allocations: 4.351 MB / 0.5685 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.3866, allocations: 1.11 MB / 0.5696 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.388, allocations: 0.7075 MB / 0.5703 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.3881, allocations: 16.62 kB / 0.5703 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.3881, allocations: 51.09 kB / 0.5703 GB, free: 7.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.226e-06/0.3881, allocations: 0 / 0.5703 GB, free: 7.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007454/0.3956, allocations: 3.646 MB / 0.5739 GB, free: 3.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3956, allocations: 86.11 kB / 0.574 GB, free: 3.332 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.3962, allocations: 401.9 kB / 0.5743 GB, free: 2.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/0.3962, allocations: 41.7 kB / 0.5744 GB, free: 2.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.3965, allocations: 349.1 kB / 0.5747 GB, free: 2.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.3969, allocations: 372.8 kB / 0.5751 GB, free: 2.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.3972, allocations: 166.6 kB / 0.5752 GB, free: 2.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3974, allocations: 378.8 kB / 0.5756 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3985, allocations: 0.5953 MB / 0.5762 GB, free: 1.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.3998, allocations: 0.7386 MB / 0.5769 GB, free: 248 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.4023, allocations: 1.383 MB / 0.5782 GB, free: 14.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4023, allocations: 0 / 0.5782 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003054/0.4054, allocations: 1.528 MB / 0.5797 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.4054, allocations: 10.97 kB / 0.5797 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4054, allocations: 8 kB / 0.5798 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.4056, allocations: 45 kB / 0.5798 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.4081, allocations: 0.4953 MB / 0.5803 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007511/0.4156, allocations: 6.268 MB / 0.5864 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/0.4165, allocations: 87.89 kB / 0.5865 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4166, allocations: 31.98 kB / 0.5865 GB, free: 5.879 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0005809/0.4172, allocations: 317.5 kB / 0.5868 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.4174, allocations: 75.47 kB / 0.5869 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.4205, allocations: 1.509 MB / 0.5884 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-05/0.4206, allocations: 27.98 kB / 0.5884 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4206, allocations: 0 / 0.5884 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4206, allocations: 3.984 kB / 0.5884 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.426, allocations: 2.777 MB / 0.5911 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.426, allocations: 4 kB / 0.5911 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/0.429, allocations: 0.5345 MB / 0.5916 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.4292, allocations: 36.84 kB / 0.5917 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.4293, allocations: 23.98 kB / 0.5917 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.4309, allocations: 1.531 MB / 0.5932 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4309, allocations: 4 kB / 0.5932 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004823/0.4358, allocations: 2.464 MB / 0.5956 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.436, allocations: 63.53 kB / 0.5957 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.4361, allocations: 28.05 kB / 0.5957 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/0.4368, allocations: 63.91 kB / 0.5957 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.4371, allocations: 92.39 kB / 0.5958 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/0.4371, allocations: 20 kB / 0.5959 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.4376, allocations: 279.1 kB / 0.5961 GB, free: 11.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4376, allocations: 3.938 kB / 0.5961 GB, free: 11.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001166/0.4387, allocations: 239.9 kB / 0.5964 GB, free: 11.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.005338/0.4441, allocations: 3.062 MB / 0.5993 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004729/0.4488, allocations: 1.763 MB / 0.6011 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.4488, allocations: 0 / 0.6011 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003099/0.4519, allocations: 1.139 MB / 0.6022 GB, free: 5.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009946/0.4529, allocations: 157.9 kB / 0.6023 GB, free: 5.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.4692, allocations: 8.978 MB / 0.6111 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/0.4701, allocations: 1.091 MB / 0.6122 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009015/0.471, allocations: 277.5 kB / 0.6124 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.4715, allocations: 287.3 kB / 0.6127 GB, free: 10.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4715, allocations: 4 kB / 0.6127 GB, free: 10.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06135/0.5329, allocations: 18.92 MB / 0.6312 GB, free: 7.719 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/14.91, allocations: 22.72 kB / 0.6312 GB, free: 7.699 MB / 478.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.978236214003118] Failed to read output from testmodel.py, exit status != 0: 15.047319378994871 15.076003362 14.706712873 Calling exit ...