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.0019/0.0019, 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.001409/0.001409, allocations: 209.8 kB / 23.72 MB, free: 4.391 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1855/0.1855, allocations: 38.55 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 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.89 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009508/0.3462, allocations: 6.407 MB / 0.5482 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004518/0.3507, allocations: 2.017 MB / 0.5502 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005404/0.3512, allocations: 34.81 kB / 0.5502 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.3528, allocations: 0.497 MB / 0.5507 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3544, allocations: 0.5736 MB / 0.5512 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3554, allocations: 365.4 kB / 0.5516 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.3572, allocations: 1.285 MB / 0.5529 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008561/0.358, allocations: 0.5307 MB / 0.5534 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.3591, allocations: 0.5642 MB / 0.5539 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.3602, allocations: 0.751 MB / 0.5547 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.3604, allocations: 104.8 kB / 0.5548 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.3616, allocations: 0.6132 MB / 0.5554 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005642/0.3622, allocations: 478.8 kB / 0.5558 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005671/0.3627, allocations: 454.2 kB / 0.5562 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.3646, allocations: 1.553 MB / 0.5578 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3646, allocations: 0 / 0.5578 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3646, allocations: 0 / 0.5578 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.3646, allocations: 3.938 kB / 0.5578 GB, free: 4.02 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.003313/0.3679, allocations: 1.322 MB / 0.5591 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.368, allocations: 15.98 kB / 0.5591 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.3682, allocations: 147.8 kB / 0.5592 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009904/0.3692, allocations: 172.2 kB / 0.5594 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.3709, allocations: 0.623 MB / 0.56 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/0.3713, allocations: 341.5 kB / 0.5603 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/0.3715, allocations: 83.97 kB / 0.5604 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.3742, allocations: 1.402 MB / 0.5618 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.3742, allocations: 4 kB / 0.5618 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3743, allocations: 39.98 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/0.3746, allocations: 81.94 kB / 0.5619 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.3775, allocations: 1.514 MB / 0.5634 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007714/0.3852, allocations: 4.125 MB / 0.5674 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.3877, allocations: 1.113 MB / 0.5685 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.3891, allocations: 0.7153 MB / 0.5692 GB, free: 8.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/0.3891, allocations: 8.656 kB / 0.5692 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.3892, allocations: 43.22 kB / 0.5692 GB, free: 7.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.808e-06/0.3892, allocations: 0 / 0.5692 GB, free: 7.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007474/0.3967, allocations: 3.654 MB / 0.5728 GB, free: 4.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.3967, allocations: 90.11 kB / 0.5729 GB, free: 4.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.3972, allocations: 409.8 kB / 0.5733 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.3973, allocations: 33.7 kB / 0.5733 GB, free: 3.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.3976, allocations: 353.1 kB / 0.5736 GB, free: 3.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.3979, allocations: 368.8 kB / 0.574 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.3982, allocations: 158.7 kB / 0.5741 GB, free: 2.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3984, allocations: 386.8 kB / 0.5745 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.3996, allocations: 0.5875 MB / 0.5751 GB, free: 1.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.4009, allocations: 0.7502 MB / 0.5758 GB, free: 1.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.4034, allocations: 1.387 MB / 0.5772 GB, free: 15.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4034, allocations: 4 kB / 0.5772 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003006/0.4064, allocations: 1.521 MB / 0.5787 GB, free: 14.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4064, allocations: 8.281 kB / 0.5787 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4064, allocations: 8 kB / 0.5787 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.4066, allocations: 36.84 kB / 0.5787 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.4093, allocations: 0.4914 MB / 0.5792 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/0.4169, allocations: 6.268 MB / 0.5853 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.4179, allocations: 79.88 kB / 0.5854 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.418, allocations: 28.16 kB / 0.5854 GB, free: 6.742 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.0006208/0.4186, allocations: 326.9 kB / 0.5857 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.4188, allocations: 75.5 kB / 0.5858 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.4219, allocations: 1.505 MB / 0.5873 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/0.4219, allocations: 39.91 kB / 0.5873 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4219, allocations: 0 / 0.5873 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4219, allocations: 3.984 kB / 0.5873 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.4272, allocations: 2.645 MB / 0.5899 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.4272, allocations: 4 kB / 0.5899 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002903/0.4301, allocations: 0.5346 MB / 0.5904 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/0.4302, allocations: 40.77 kB / 0.5905 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/0.4303, allocations: 20 kB / 0.5905 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.4316, allocations: 1.527 MB / 0.592 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4316, allocations: 8.094 kB / 0.592 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/0.4361, allocations: 2.464 MB / 0.5944 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.4362, allocations: 59.58 kB / 0.5944 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4363, allocations: 19.98 kB / 0.5945 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006065/0.437, allocations: 75.97 kB / 0.5945 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.4372, allocations: 88.39 kB / 0.5946 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/0.4372, allocations: 20 kB / 0.5946 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.4376, allocations: 279.1 kB / 0.5949 GB, free: 12.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4376, allocations: 0 / 0.5949 GB, free: 12.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009286/0.4385, allocations: 239.9 kB / 0.5951 GB, free: 12.53 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.004894/0.4434, allocations: 3.082 MB / 0.5981 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004541/0.448, allocations: 1.752 MB / 0.5998 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.448, allocations: 4.062 kB / 0.5999 GB, free: 7.633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.4511, allocations: 1.139 MB / 0.601 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009328/0.452, allocations: 159 kB / 0.6011 GB, free: 6.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.4672, allocations: 8.996 MB / 0.6099 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.4678, allocations: 490.2 kB / 0.6104 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007998/0.4686, allocations: 277.8 kB / 0.6106 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/0.4691, allocations: 283.3 kB / 0.6109 GB, free: 12.05 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4691, allocations: 0 / 0.6109 GB, free: 12.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05866/0.5277, allocations: 19.17 MB / 0.6296 GB, free: 9.117 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.02, allocations: 12.06 kB / 0.6296 GB, free: 9.105 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.914989861659706] Failed to read output from testmodel.py, exit status != 0: 14.154533793218434 14.182010762 13.812119257 Calling exit ...