Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.001336/0.001336, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001488/0.001488, allocations: 209 kB / 24.48 MB, free: 3.938 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.52/1.52, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.1845/0.1845, allocations: 38.56 MB / 353.2 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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [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.002097/0.002097, allocations: 63.91 kB / 493.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3214, allocations: 62.47 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008664/0.3301, allocations: 5.743 MB / 0.5488 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.3336, allocations: 1.507 MB / 0.5502 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.334, allocations: 35.5 kB / 0.5503 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.3346, allocations: 136.6 kB / 0.5504 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.3356, allocations: 374.2 kB / 0.5508 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.3363, allocations: 315 kB / 0.5511 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.3378, allocations: 1.343 MB / 0.5524 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.3383, allocations: 227.2 kB / 0.5526 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.3394, allocations: 0.5702 MB / 0.5531 GB, free: 8.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009487/0.3403, allocations: 0.5529 MB / 0.5537 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.3405, allocations: 91.03 kB / 0.5538 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3407, allocations: 89.94 kB / 0.5539 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.3411, allocations: 357 kB / 0.5542 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.3415, allocations: 342.3 kB / 0.5545 GB, free: 8.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.343, allocations: 1.067 MB / 0.5556 GB, free: 7.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.343, allocations: 4 kB / 0.5556 GB, free: 7.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.343, allocations: 3.938 kB / 0.5556 GB, free: 7.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.343, allocations: 0 / 0.5556 GB, free: 7.402 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002924/0.3459, allocations: 1.142 MB / 0.5567 GB, free: 6.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.346, allocations: 15.97 kB / 0.5567 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.3462, allocations: 88.47 kB / 0.5568 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.3478, allocations: 0.5936 MB / 0.5574 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007483/0.3485, allocations: 0.7409 MB / 0.5581 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3487, allocations: 63.94 kB / 0.5582 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.3512, allocations: 1.042 MB / 0.5592 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3512, allocations: 3.938 kB / 0.5592 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.686e-05/0.3513, allocations: 24 kB / 0.5592 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.3513, allocations: 16 kB / 0.5592 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.3541, allocations: 1.089 MB / 0.5603 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005584/0.3597, allocations: 2.889 MB / 0.5631 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.362, allocations: 0.7319 MB / 0.5638 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.3634, allocations: 0.5046 MB / 0.5643 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.3635, allocations: 8.438 kB / 0.5643 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.365, allocations: 0.6187 MB / 0.5649 GB, free: 13.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.625e-06/0.365, allocations: 0 / 0.5649 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.004038/0.369, allocations: 1.375 MB / 0.5663 GB, free: 12.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.3692, allocations: 144.5 kB / 0.5664 GB, free: 11.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.3696, allocations: 357.5 kB / 0.5667 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.3697, allocations: 45.69 kB / 0.5668 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.37, allocations: 300.8 kB / 0.5671 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.3702, allocations: 174.6 kB / 0.5672 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.3705, allocations: 118.3 kB / 0.5673 GB, free: 10.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.3707, allocations: 354.8 kB / 0.5677 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.3718, allocations: 490.7 kB / 0.5682 GB, free: 10.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.373, allocations: 0.5893 MB / 0.5687 GB, free: 9.469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.3751, allocations: 0.8808 MB / 0.5696 GB, free: 8.547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3751, allocations: 0 / 0.5696 GB, free: 8.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00251/0.3776, allocations: 1.105 MB / 0.5707 GB, free: 7.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.3776, allocations: 53.69 kB / 0.5707 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3776, allocations: 7.938 kB / 0.5707 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3777, allocations: 4 kB / 0.5707 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005916/0.3836, allocations: 1.108 MB / 0.5718 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008568/0.3922, allocations: 4.433 MB / 0.5761 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008446/0.393, allocations: 107.5 kB / 0.5762 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/0.3931, allocations: 40.05 kB / 0.5763 GB, free: 1.461 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: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0004731/0.3936, allocations: 251.4 kB / 0.5765 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.3937, allocations: 47.72 kB / 0.5766 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.3965, allocations: 0.9808 MB / 0.5775 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.3965, allocations: 7.938 kB / 0.5775 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3965, allocations: 0 / 0.5775 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3965, allocations: 11.92 kB / 0.5775 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/0.4009, allocations: 1.933 MB / 0.5794 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4009, allocations: 0 / 0.5794 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007198/0.4081, allocations: 1.287 MB / 0.5807 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.4081, allocations: 7.984 kB / 0.5807 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.4082, allocations: 12 kB / 0.5807 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.4082, allocations: 7.984 kB / 0.5807 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4082, allocations: 0 / 0.5807 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004335/0.4125, allocations: 1.705 MB / 0.5824 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.4129, allocations: 119.6 kB / 0.5825 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4131, allocations: 31.98 kB / 0.5825 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/0.4138, allocations: 83.88 kB / 0.5826 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.414, allocations: 95.84 kB / 0.5827 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.414, allocations: 27.92 kB / 0.5827 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003348/0.4144, allocations: 247.2 kB / 0.583 GB, free: 10.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4144, allocations: 0 / 0.583 GB, free: 10.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007133/0.4151, allocations: 187.6 kB / 0.5831 GB, free: 10.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.4153, allocations: 127.1 kB / 0.5833 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007803/0.4231, allocations: 2.052 MB / 0.5853 GB, free: 8.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4231, allocations: 4.125 kB / 0.5853 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.4267, allocations: 0.9137 MB / 0.5862 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/0.4276, allocations: 122.2 kB / 0.5863 GB, free: 7.082 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.4316, allocations: 1.657 MB / 0.5879 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.432, allocations: 337 kB / 0.5882 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.4323, allocations: 47.44 kB / 0.5883 GB, free: 4.969 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4323, allocations: 0 / 0.5883 GB, free: 4.969 MB / 430.1 MB Notification: Performance of Templates: time 0.01673/0.449, allocations: 11.39 MB / 0.5994 GB, free: 9.605 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.446916805114597] Failed to read output from testmodel.py, exit status != 0: 0.45812774589285254 0.47276562800000005 0.12657664100000002 Calling exit ...