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.001815/0.001815, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002271/0.002271, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1808/0.1808, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.00235/0.00235, allocations: 67.91 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3317, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008697/0.3404, allocations: 6.887 MB / 0.5487 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.345, allocations: 2.178 MB / 0.5509 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006517/0.3456, allocations: 36.78 kB / 0.5509 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.3474, allocations: 0.5293 MB / 0.5514 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.3491, allocations: 0.5667 MB / 0.552 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3502, allocations: 363 kB / 0.5523 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.3519, allocations: 1.295 MB / 0.5536 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008671/0.3528, allocations: 0.5387 MB / 0.5541 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.3539, allocations: 0.5679 MB / 0.5547 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.3553, allocations: 0.7782 MB / 0.5554 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.3554, allocations: 109.3 kB / 0.5555 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.3568, allocations: 0.6338 MB / 0.5561 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005712/0.3574, allocations: 495.6 kB / 0.5566 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.3581, allocations: 0.5328 MB / 0.5571 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.3602, allocations: 1.534 MB / 0.5586 GB, free: 3.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3602, allocations: 0 / 0.5586 GB, free: 3.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3602, allocations: 0 / 0.5586 GB, free: 3.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.3602, allocations: 0 / 0.5586 GB, free: 3.43 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.00315/0.3633, allocations: 1.328 MB / 0.5599 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.3634, allocations: 15.98 kB / 0.5599 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.3636, allocations: 151.8 kB / 0.5601 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.3645, allocations: 176.2 kB / 0.5602 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.3659, allocations: 0.619 MB / 0.5609 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.3662, allocations: 329.6 kB / 0.5612 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.3664, allocations: 87.97 kB / 0.5613 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.3689, allocations: 1.414 MB / 0.5626 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.3689, allocations: 7.938 kB / 0.5626 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.369, allocations: 24 kB / 0.5627 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/0.3693, allocations: 85.95 kB / 0.5627 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.372, allocations: 1.518 MB / 0.5642 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007366/0.3793, allocations: 4.355 MB / 0.5685 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.3817, allocations: 1.11 MB / 0.5696 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.3831, allocations: 0.7075 MB / 0.5703 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.3831, allocations: 20.62 kB / 0.5703 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.3832, allocations: 47.22 kB / 0.5703 GB, free: 7.133 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.046e-06/0.3832, allocations: 0 / 0.5703 GB, free: 7.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007473/0.3906, allocations: 3.646 MB / 0.5739 GB, free: 3.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.3907, allocations: 86.11 kB / 0.574 GB, free: 3.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.3913, allocations: 405.8 kB / 0.5744 GB, free: 2.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.3914, allocations: 37.7 kB / 0.5744 GB, free: 2.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.3917, allocations: 349.1 kB / 0.5747 GB, free: 2.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.392, allocations: 372.8 kB / 0.5751 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.3923, allocations: 166.6 kB / 0.5752 GB, free: 2.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.3925, allocations: 382.8 kB / 0.5756 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.3936, allocations: 0.5875 MB / 0.5762 GB, free: 1.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.3949, allocations: 0.7386 MB / 0.5769 GB, free: 272 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.3972, allocations: 1.391 MB / 0.5783 GB, free: 14.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3972, allocations: 0 / 0.5783 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003039/0.4003, allocations: 1.521 MB / 0.5797 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4003, allocations: 4 kB / 0.5797 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.4003, allocations: 4 kB / 0.5797 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.4005, allocations: 48.95 kB / 0.5798 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/0.403, allocations: 0.4993 MB / 0.5803 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.4102, allocations: 6.272 MB / 0.5864 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.4109, allocations: 79.89 kB / 0.5865 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.4111, allocations: 35.98 kB / 0.5865 GB, free: 5.902 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.0005858/0.4117, allocations: 317.6 kB / 0.5868 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.4119, allocations: 75.47 kB / 0.5869 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.4149, allocations: 1.513 MB / 0.5884 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/0.415, allocations: 27.98 kB / 0.5884 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.415, allocations: 0 / 0.5884 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.415, allocations: 7.984 kB / 0.5884 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005292/0.4203, allocations: 2.773 MB / 0.5911 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4203, allocations: 0 / 0.5911 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002724/0.423, allocations: 0.5424 MB / 0.5916 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.4231, allocations: 32.84 kB / 0.5917 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.4232, allocations: 20 kB / 0.5917 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.4246, allocations: 1.527 MB / 0.5932 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4246, allocations: 7.969 kB / 0.5932 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/0.4289, allocations: 2.464 MB / 0.5956 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.4291, allocations: 63.53 kB / 0.5957 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.4293, allocations: 24.05 kB / 0.5957 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.4299, allocations: 75.91 kB / 0.5958 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.4301, allocations: 80.45 kB / 0.5958 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/0.4302, allocations: 28.03 kB / 0.5959 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000443/0.4307, allocations: 279.1 kB / 0.5961 GB, free: 11.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4307, allocations: 0 / 0.5961 GB, free: 11.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00104/0.4317, allocations: 243.9 kB / 0.5964 GB, free: 11.56 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.004861/0.4366, allocations: 3.07 MB / 0.5994 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004306/0.4409, allocations: 1.747 MB / 0.6011 GB, free: 6.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4409, allocations: 4 kB / 0.6011 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/0.4438, allocations: 1.139 MB / 0.6022 GB, free: 5.523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.4448, allocations: 160.5 kB / 0.6023 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.461, allocations: 8.978 MB / 0.6111 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/0.4619, allocations: 1.095 MB / 0.6122 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007849/0.4626, allocations: 269.5 kB / 0.6124 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.4632, allocations: 287.3 kB / 0.6127 GB, free: 10.49 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4632, allocations: 0 / 0.6127 GB, free: 10.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06488/0.5281, allocations: 18.93 MB / 0.6312 GB, free: 7.734 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/14.82, allocations: 11.25 kB / 0.6312 GB, free: 7.727 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 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.83854961814359] Failed to read output from testmodel.py, exit status != 0: 14.958042511949316 14.981265444 14.616012671 Calling exit ...