Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.00168/0.00168, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.00149/0.00149, allocations: 201.2 kB / 24.52 MB, free: 4.156 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.475/1.475, allocations: 230.6 MB / 258.3 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.1897/0.1897, allocations: 38.52 MB / 353.2 MB, free: 12.52 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.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="cs",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.001973/0.001973, allocations: 63.89 kB / 493.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3056, allocations: 62.46 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008243/0.3139, allocations: 6.456 MB / 0.5491 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3165, allocations: 1.449 MB / 0.5505 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.3168, allocations: 33.97 kB / 0.5505 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.3172, allocations: 142.5 kB / 0.5506 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008318/0.3181, allocations: 416.4 kB / 0.551 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.3185, allocations: 205.4 kB / 0.5512 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.3198, allocations: 1.084 MB / 0.5523 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.3201, allocations: 224.5 kB / 0.5525 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007268/0.3208, allocations: 486.7 kB / 0.553 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008721/0.3217, allocations: 0.566 MB / 0.5535 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3218, allocations: 64.62 kB / 0.5536 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.322, allocations: 64.91 kB / 0.5537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.3223, allocations: 312.7 kB / 0.554 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000406/0.3227, allocations: 364.7 kB / 0.5543 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.3237, allocations: 0.8489 MB / 0.5551 GB, free: 7.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3237, allocations: 0 / 0.5551 GB, free: 7.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3237, allocations: 1.188 kB / 0.5551 GB, free: 7.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3237, allocations: 0 / 0.5551 GB, free: 7.195 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.002116/0.3258, allocations: 0.9497 MB / 0.5561 GB, free: 6.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3258, allocations: 13.7 kB / 0.5561 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.263e-05/0.3259, allocations: 15 kB / 0.5561 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.326, allocations: 102.8 kB / 0.5562 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3261, allocations: 72.3 kB / 0.5563 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.3272, allocations: 0.5122 MB / 0.5568 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.3275, allocations: 220.5 kB / 0.557 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.3276, allocations: 61.05 kB / 0.557 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.329, allocations: 0.7733 MB / 0.5578 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.329, allocations: 3.938 kB / 0.5578 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.3291, allocations: 28 kB / 0.5578 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.3292, allocations: 32.97 kB / 0.5578 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.3307, allocations: 0.7142 MB / 0.5585 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.3349, allocations: 2.561 MB / 0.561 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.3365, allocations: 0.6894 MB / 0.5617 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007353/0.3373, allocations: 383.3 kB / 0.5621 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.3373, allocations: 4.438 kB / 0.5621 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.3374, allocations: 39 kB / 0.5621 GB, free: 372 kB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.244e-06/0.3374, allocations: 0 / 0.5621 GB, free: 372 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004511/0.3419, allocations: 1.851 MB / 0.5639 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.3419, allocations: 81.55 kB / 0.564 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.3424, allocations: 402 kB / 0.5644 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.3425, allocations: 29.7 kB / 0.5644 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.3427, allocations: 293 kB / 0.5647 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.3429, allocations: 190.4 kB / 0.5649 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.3431, allocations: 102.3 kB / 0.565 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3433, allocations: 362.8 kB / 0.5653 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.3439, allocations: 273.1 kB / 0.5656 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.3446, allocations: 385.9 kB / 0.5659 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.3458, allocations: 0.6489 MB / 0.5666 GB, free: 11.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3458, allocations: 4 kB / 0.5666 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0018/0.3476, allocations: 0.8111 MB / 0.5674 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3477, allocations: 4 kB / 0.5674 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3477, allocations: 4 kB / 0.5674 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.348, allocations: 73.67 kB / 0.5675 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.3496, allocations: 311.5 kB / 0.5678 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006969/0.3566, allocations: 6.11 MB / 0.5737 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/0.3572, allocations: 39.95 kB / 0.5738 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/0.3572, allocations: 23.98 kB / 0.5738 GB, free: 3.766 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.0004356/0.3577, allocations: 237.8 kB / 0.574 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3578, allocations: 51.67 kB / 0.5741 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.3596, allocations: 0.7528 MB / 0.5748 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3596, allocations: 4 kB / 0.5748 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3596, allocations: 0 / 0.5748 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3596, allocations: 7.984 kB / 0.5748 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.3629, allocations: 1.578 MB / 0.5763 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.3629, allocations: 3.984 kB / 0.5763 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.3647, allocations: 323.8 kB / 0.5767 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.365, allocations: 93.58 kB / 0.5767 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.3651, allocations: 12 kB / 0.5768 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.3679, allocations: 2.954 MB / 0.5796 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.3679, allocations: 11.95 kB / 0.5797 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.3706, allocations: 1.239 MB / 0.5809 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3708, allocations: 55.64 kB / 0.5809 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.3709, allocations: 12 kB / 0.5809 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.3713, allocations: 35.95 kB / 0.581 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.3715, allocations: 51.92 kB / 0.581 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.3715, allocations: 15.98 kB / 0.581 GB, free: 11.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004283/0.372, allocations: 279.1 kB / 0.5813 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.372, allocations: 0 / 0.5813 GB, free: 11.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008643/0.3728, allocations: 151.9 kB / 0.5814 GB, free: 11.55 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.002942/0.3758, allocations: 1.786 MB / 0.5832 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.3789, allocations: 1.065 MB / 0.5842 GB, free: 8.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.3789, allocations: 4 kB / 0.5842 GB, free: 8.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.3812, allocations: 0.7863 MB / 0.585 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3823, allocations: 132.5 kB / 0.5851 GB, free: 7.676 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.3936, allocations: 5.735 MB / 0.5907 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.3943, allocations: 0.9447 MB / 0.5916 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005117/0.3948, allocations: 128.7 kB / 0.5918 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.3952, allocations: 195.4 kB / 0.592 GB, free: 452 kB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3952, allocations: 0 / 0.592 GB, free: 452 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06603/0.4613, allocations: 13.56 MB / 0.6052 GB, free: 3.066 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.03, allocations: 6.812 kB / 0.6052 GB, free: 3.062 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.919229416002054] Failed to read output from testmodel.py, exit status != 0: 15.216808116994798 15.234113149 14.907009107 Calling exit ...