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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 190.4 kB / 22.75 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1833/0.1833, allocations: 38.5 MB / 344.9 MB, free: 2.609 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.89 kB / 482.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3401, allocations: 61.23 MB / 0.5309 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.007624/0.3477, allocations: 6.067 MB / 0.5368 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.3507, allocations: 1.567 MB / 0.5384 GB, free: 36 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000479/0.3512, allocations: 22.84 kB / 0.5384 GB, free: 28 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.3518, allocations: 144.5 kB / 0.5385 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.3529, allocations: 368.2 kB / 0.5389 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.3536, allocations: 311.6 kB / 0.5392 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.3554, allocations: 1.337 MB / 0.5405 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.3559, allocations: 287.9 kB / 0.5408 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3571, allocations: 0.5567 MB / 0.5413 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.3582, allocations: 0.5796 MB / 0.5419 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.3584, allocations: 90.88 kB / 0.542 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.3586, allocations: 91.72 kB / 0.5421 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.359, allocations: 351.2 kB / 0.5424 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.3596, allocations: 414.2 kB / 0.5428 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3609, allocations: 1.057 MB / 0.5438 GB, free: 12.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3609, allocations: 0 / 0.5438 GB, free: 12.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3609, allocations: 0 / 0.5438 GB, free: 12.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.3609, allocations: 1.219 kB / 0.5438 GB, free: 12.47 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.003011/0.3639, allocations: 1.218 MB / 0.545 GB, free: 11.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.364, allocations: 13.2 kB / 0.545 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.3642, allocations: 86.8 kB / 0.5451 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.3657, allocations: 0.6673 MB / 0.5458 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004755/0.3662, allocations: 337.3 kB / 0.5461 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.3663, allocations: 67.06 kB / 0.5461 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.3687, allocations: 1.04 MB / 0.5472 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3687, allocations: 1.125 kB / 0.5472 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.3688, allocations: 29.77 kB / 0.5472 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.3688, allocations: 14.88 kB / 0.5472 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.3716, allocations: 1.087 MB / 0.5483 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005692/0.3773, allocations: 3.189 MB / 0.5514 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.3794, allocations: 0.7252 MB / 0.5521 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3808, allocations: 0.5132 MB / 0.5526 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.3809, allocations: 4.438 kB / 0.5526 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.3824, allocations: 0.6225 MB / 0.5532 GB, free: 5.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.624e-06/0.3824, allocations: 4 kB / 0.5532 GB, free: 5.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003965/0.3864, allocations: 1.368 MB / 0.5545 GB, free: 4.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.3865, allocations: 148.5 kB / 0.5547 GB, free: 3.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/0.3871, allocations: 389.9 kB / 0.555 GB, free: 3.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/0.3872, allocations: 41.7 kB / 0.5551 GB, free: 3.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.3875, allocations: 296.9 kB / 0.5554 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.3877, allocations: 174.6 kB / 0.5555 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.388, allocations: 118.2 kB / 0.5556 GB, free: 2.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3882, allocations: 358.8 kB / 0.556 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.3892, allocations: 456.9 kB / 0.5564 GB, free: 2.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.3904, allocations: 0.56 MB / 0.557 GB, free: 1.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.3923, allocations: 0.8856 MB / 0.5578 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3923, allocations: 4 kB / 0.5578 GB, free: 0.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002512/0.3948, allocations: 1.086 MB / 0.5589 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.3949, allocations: 61.66 kB / 0.559 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3949, allocations: 7.938 kB / 0.559 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.3949, allocations: 4 kB / 0.559 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005581/0.4005, allocations: 1.104 MB / 0.5601 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008348/0.4089, allocations: 4.701 MB / 0.5646 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008756/0.4097, allocations: 103.6 kB / 0.5647 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4098, allocations: 40.03 kB / 0.5648 GB, free: 9.223 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.0005327/0.4104, allocations: 243.4 kB / 0.565 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.4105, allocations: 63.59 kB / 0.5651 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.4132, allocations: 0.9848 MB / 0.566 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4132, allocations: 8 kB / 0.566 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4132, allocations: 0 / 0.566 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4132, allocations: 7.984 kB / 0.566 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/0.4174, allocations: 2.136 MB / 0.5681 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4174, allocations: 4.031 kB / 0.5681 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006476/0.4239, allocations: 1.279 MB / 0.5694 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.4239, allocations: 8 kB / 0.5694 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.424, allocations: 15.98 kB / 0.5694 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.424, allocations: 4 kB / 0.5694 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.424, allocations: 0 / 0.5694 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.4282, allocations: 1.705 MB / 0.5711 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004159/0.4286, allocations: 204.7 kB / 0.5713 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.4287, allocations: 31.98 kB / 0.5713 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/0.4294, allocations: 87.88 kB / 0.5714 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.4296, allocations: 99.73 kB / 0.5715 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.4297, allocations: 19.98 kB / 0.5715 GB, free: 2.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003542/0.43, allocations: 271.1 kB / 0.5718 GB, free: 1.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.43, allocations: 4 kB / 0.5718 GB, free: 1.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007117/0.4307, allocations: 175.7 kB / 0.5719 GB, free: 1.727 MB / 414.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.000213/0.4309, allocations: 135.1 kB / 0.5721 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007362/0.4383, allocations: 2.023 MB / 0.574 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.4383, allocations: 0 / 0.574 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003486/0.4418, allocations: 0.9213 MB / 0.5749 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.4427, allocations: 135.8 kB / 0.5751 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.4468, allocations: 1.652 MB / 0.5767 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.4474, allocations: 0.929 MB / 0.5776 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.4477, allocations: 51.42 kB / 0.5776 GB, free: 11.79 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4477, allocations: 0 / 0.5776 GB, free: 11.79 MB / 430.1 MB Notification: Performance of Templates: time 0.01786/0.4656, allocations: 11.49 MB / 0.5889 GB, free: 344 kB / 430.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]