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.001481/0.001481, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001591/0.001591, allocations: 161.6 kB / 24.27 MB, free: 168 kB / 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 1.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3082/0.3082, allocations: 29.41 MB / 290.5 MB, free: 2.434 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 2.635e-06/2.635e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.194e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.0102/0.01024, allocations: 6.597 MB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.0147, allocations: 1.951 MB / 377.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.01526, allocations: 35.69 kB / 377.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.01679, allocations: 0.4975 MB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.0183, allocations: 0.575 MB / 378.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.01948, allocations: 430.8 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.02155, allocations: 1.402 MB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/0.02255, allocations: 0.5959 MB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.02406, allocations: 0.8376 MB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.02522, allocations: 0.6507 MB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.0254, allocations: 96 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.02658, allocations: 0.5264 MB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000686/0.02727, allocations: 0.5221 MB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000626/0.02789, allocations: 411 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.03029, allocations: 1.601 MB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.03029, allocations: 0 / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.03029, allocations: 0 / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.003e-05/0.03032, allocations: 0 / 385.6 MB, free: 10.5 MB / 362.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.003756/0.03408, allocations: 1.51 MB / 387.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.03412, allocations: 15.92 kB / 387.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.03532, allocations: 300 kB / 387.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.0372, allocations: 0.6958 MB / 388.1 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/0.03754, allocations: 333.8 kB / 388.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.03781, allocations: 100.7 kB / 388.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.04105, allocations: 1.532 MB / 390.1 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.04108, allocations: 7.938 kB / 390.1 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.0412, allocations: 43.98 kB / 390.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.04138, allocations: 65.97 kB / 390.2 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.04389, allocations: 1.171 MB / 391.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007549/0.05144, allocations: 4.33 MB / 395.7 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.0545, allocations: 0.9843 MB / 396.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.05587, allocations: 0.518 MB / 397.2 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.05592, allocations: 12.66 kB / 397.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.0575, allocations: 0.7145 MB / 397.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.525e-06/0.05751, allocations: 0 / 397.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.007957/0.06546, allocations: 3.014 MB / 400.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.06558, allocations: 131.4 kB / 401.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.06632, allocations: 0.5142 MB / 401.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.211e-05/0.06641, allocations: 49.7 kB / 401.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007035/0.06711, allocations: 476.1 kB / 402.1 MB, free: 9.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.06742, allocations: 281.8 kB / 402.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/0.06778, allocations: 206.5 kB / 402.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.06805, allocations: 378.8 kB / 402.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000971/0.06902, allocations: 0.5232 MB / 403.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.07018, allocations: 0.7868 MB / 404.2 MB, free: 7.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.07214, allocations: 1.261 MB / 405.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.07214, allocations: 0 / 405.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002972/0.07511, allocations: 1.589 MB / 407.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.254e-05/0.07521, allocations: 65.67 kB / 407.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002207/0.07741, allocations: 1.27 MB / 408.4 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005205/0.07793, allocations: 126 kB / 408.5 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/0.07874, allocations: 203.6 kB / 408.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/0.08264, allocations: 3.1 MB / 411.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.08341, allocations: 79.81 kB / 411.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.08356, allocations: 76.08 kB / 412 MB, free: 15.11 MB / 394.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.0006847/0.08424, allocations: 381.4 kB / 412.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.0845, allocations: 107.5 kB / 412.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.08755, allocations: 1.179 MB / 413.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/0.08759, allocations: 12 kB / 413.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.0876, allocations: 7.938 kB / 413.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.08761, allocations: 3.984 kB / 413.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.09233, allocations: 2.114 MB / 415.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.09233, allocations: 0 / 415.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.09336, allocations: 147.8 kB / 415.9 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.09348, allocations: 36.92 kB / 416 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.336e-05/0.09357, allocations: 35.91 kB / 416 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.09507, allocations: 1.492 MB / 417.5 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.09507, allocations: 4.031 kB / 417.5 MB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004361/0.09944, allocations: 1.876 MB / 419.4 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.09991, allocations: 167.4 kB / 419.5 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/0.1001, allocations: 79.94 kB / 419.6 MB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/0.1008, allocations: 83.88 kB / 419.7 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.101, allocations: 60.48 kB / 419.8 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.1011, allocations: 31.97 kB / 419.8 MB, free: 7.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004797/0.1016, allocations: 334.8 kB / 420.1 MB, free: 6.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1016, allocations: 4 kB / 420.1 MB, free: 6.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009768/0.1025, allocations: 239.9 kB / 420.4 MB, free: 6.531 MB / 394.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.000331/0.1029, allocations: 174.7 kB / 420.5 MB, free: 6.352 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003/0.1059, allocations: 1.515 MB / 422 MB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1059, allocations: 0 / 422 MB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.1073, allocations: 0.6244 MB / 422.7 MB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.1082, allocations: 164.8 kB / 422.8 MB, free: 4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.1128, allocations: 2.215 MB / 425 MB, free: 1.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.1135, allocations: 0.5076 MB / 425.5 MB, free: 1.195 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006401/0.1142, allocations: 229.8 kB / 425.8 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.1144, allocations: 64.48 kB / 425.8 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1144, allocations: 4 kB / 425.8 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of Templates: time 0.021/0.1354, allocations: 10.09 MB / 435.9 MB, free: 6.945 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.140553009929135]