Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.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.0009491/0.0009491, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009597/0.0009597, allocations: 161.5 kB / 25.61 MB, free: 8.887 MB / 18.57 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 0.9081/0.9081, allocations: 177.1 MB / 206 MB, free: 4.523 MB / 186.7 MB " [Timeout remaining time 179] 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.1155/0.1155, allocations: 29.42 MB / 292 MB, free: 2.637 MB / 266.7 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.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.962e-05, allocations: 4.844 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.01118/0.0112, allocations: 5.984 MB / 376.9 MB, free: 26.31 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005488/0.01669, allocations: 2.006 MB / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.01695, allocations: 35.69 kB / 378.9 MB, free: 24.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003541/0.02049, allocations: 222.5 kB / 379.1 MB, free: 24.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007739/0.02126, allocations: 0.5712 MB / 379.7 MB, free: 23.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.02184, allocations: 434.8 kB / 380.1 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.02268, allocations: 1.406 MB / 381.5 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.02318, allocations: 0.5882 MB / 382.1 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007731/0.02395, allocations: 0.8964 MB / 383 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.02454, allocations: 0.6273 MB / 383.6 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.02464, allocations: 96 kB / 383.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.0251, allocations: 0.5264 MB / 384.3 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.02533, allocations: 0.526 MB / 384.8 MB, free: 18.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.02555, allocations: 399.1 kB / 385.2 MB, free: 17.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.02618, allocations: 1.129 MB / 386.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.02618, allocations: 0 / 386.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.02618, allocations: 0 / 386.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.02619, allocations: 0 / 386.3 MB, free: 16.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001235/0.02742, allocations: 1.535 MB / 387.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.566e-05/0.02745, allocations: 12.03 kB / 387.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005237/0.02797, allocations: 276 kB / 388.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.02847, allocations: 0.6186 MB / 388.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.02856, allocations: 329.9 kB / 389.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.02869, allocations: 108.6 kB / 389.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.0294, allocations: 0.942 MB / 390.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.02942, allocations: 0 / 390.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.02947, allocations: 36 kB / 390.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.687e-05/0.02955, allocations: 65.97 kB / 390.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.02995, allocations: 377.4 kB / 390.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.03225, allocations: 4.758 MB / 395.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.03274, allocations: 420.4 kB / 395.7 MB, free: 6.949 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.03296, allocations: 201.7 kB / 395.9 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.03299, allocations: 16.66 kB / 396 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.03331, allocations: 406 kB / 396.4 MB, free: 6.305 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 1.683e-06/0.03331, allocations: 0 / 396.4 MB, free: 6.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.001529/0.03484, allocations: 1.26 MB / 397.6 MB, free: 5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.03486, allocations: 131.5 kB / 397.7 MB, free: 4.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.03508, allocations: 0.5294 MB / 398.3 MB, free: 4.301 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.03512, allocations: 49.7 kB / 398.3 MB, free: 4.246 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.03527, allocations: 0.5145 MB / 398.8 MB, free: 3.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.03538, allocations: 293.6 kB / 399.1 MB, free: 3.434 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.03554, allocations: 216.1 kB / 399.3 MB, free: 3.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.03561, allocations: 0.5702 MB / 399.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.03578, allocations: 191.9 kB / 400.1 MB, free: 2.441 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.03602, allocations: 0.5882 MB / 400.7 MB, free: 1.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.03645, allocations: 0.7713 MB / 401.4 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.03645, allocations: 4 kB / 401.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0008642/0.03732, allocations: 0.9462 MB / 402.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.03736, allocations: 64.02 kB / 402.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006271/0.03799, allocations: 0.6396 MB / 403.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.0382, allocations: 95.22 kB / 403.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.03858, allocations: 183.7 kB / 403.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.04011, allocations: 3.812 MB / 407.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.04036, allocations: 39.98 kB / 407.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.04044, allocations: 71.88 kB / 407.3 MB, free: 10.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002021/0.04064, allocations: 240.2 kB / 407.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.04077, allocations: 107.5 kB / 407.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.04149, allocations: 0.5999 MB / 408.2 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.0415, allocations: 19.97 kB / 408.3 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.04151, allocations: 4 kB / 408.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.04152, allocations: 7.984 kB / 408.3 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.04293, allocations: 1.387 MB / 409.7 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.04293, allocations: 4.094 kB / 409.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.04328, allocations: 115.8 kB / 409.8 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.205e-05/0.04334, allocations: 31.67 kB / 409.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.04338, allocations: 23.97 kB / 409.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007398/0.04412, allocations: 1.985 MB / 411.8 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.04412, allocations: 4 kB / 411.8 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.04505, allocations: 0.9224 MB / 412.7 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.04522, allocations: 143.3 kB / 412.9 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.04533, allocations: 79.94 kB / 413 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.04556, allocations: 35.97 kB / 413 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.04563, allocations: 60.44 kB / 413 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.04567, allocations: 27.97 kB / 413.1 MB, free: 4.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.04582, allocations: 298.7 kB / 413.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04582, allocations: 0 / 413.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005246/0.04635, allocations: 240 kB / 413.6 MB, free: 4.082 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0001988/0.04655, allocations: 179.1 kB / 413.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008712/0.04742, allocations: 1.024 MB / 414.8 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04742, allocations: 0 / 414.8 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.04775, allocations: 419.9 kB / 415.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.04822, allocations: 163.7 kB / 415.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.05025, allocations: 1.826 MB / 417.2 MB, free: 368 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.05041, allocations: 259.5 kB / 417.4 MB, free: 88 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.05064, allocations: 90.06 kB / 417.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.05093, allocations: 222.1 kB / 417.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.05093, allocations: 0 / 417.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of Templates: time 0.01188/0.06282, allocations: 10.91 MB / 428.7 MB, free: 5.02 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5398689080029726]