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.001529/0.001529, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001381/0.001381, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1792/0.1792, allocations: 38.52 MB / 353.2 MB, free: 12.54 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.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: 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.001957/0.001957, allocations: 63.91 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 62.46 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.008688/0.3083, allocations: 7.143 MB / 0.5502 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003998/0.3122, allocations: 2.095 MB / 0.5522 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005176/0.3128, allocations: 37.16 kB / 0.5523 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.3143, allocations: 0.5116 MB / 0.5528 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3157, allocations: 0.5703 MB / 0.5533 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3168, allocations: 399.8 kB / 0.5537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.3188, allocations: 1.42 MB / 0.5551 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009895/0.3197, allocations: 0.5982 MB / 0.5557 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.3211, allocations: 0.6492 MB / 0.5563 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.3223, allocations: 0.7312 MB / 0.557 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.3224, allocations: 101.1 kB / 0.5571 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.3235, allocations: 0.5576 MB / 0.5577 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005256/0.324, allocations: 0.4948 MB / 0.5582 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.3247, allocations: 0.5638 MB / 0.5587 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.3265, allocations: 1.541 MB / 0.5602 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3265, allocations: 0 / 0.5602 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3266, allocations: 0 / 0.5602 GB, free: 3.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.3266, allocations: 4 kB / 0.5602 GB, free: 3.004 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00309/0.3297, allocations: 1.524 MB / 0.5617 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.3297, allocations: 15.98 kB / 0.5617 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.3307, allocations: 196.1 kB / 0.5619 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.3321, allocations: 0.6614 MB / 0.5626 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.3324, allocations: 341.8 kB / 0.5629 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.3326, allocations: 103.9 kB / 0.563 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.3353, allocations: 1.539 MB / 0.5645 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.3354, allocations: 0 / 0.5645 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.3355, allocations: 36 kB / 0.5645 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.3356, allocations: 69.97 kB / 0.5646 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.3378, allocations: 1.171 MB / 0.5657 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006651/0.3445, allocations: 4.703 MB / 0.5703 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.3472, allocations: 0.9881 MB / 0.5713 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.3484, allocations: 0.5267 MB / 0.5718 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.3485, allocations: 4.656 kB / 0.5718 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.3499, allocations: 0.7262 MB / 0.5725 GB, free: 6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.3499, allocations: 0 / 0.5725 GB, free: 6 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.006953/0.3568, allocations: 2.991 MB / 0.5754 GB, free: 2.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.3569, allocations: 123.5 kB / 0.5756 GB, free: 2.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.3577, allocations: 0.5889 MB / 0.5761 GB, free: 2.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.021e-05/0.3577, allocations: 49.7 kB / 0.5762 GB, free: 2.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.3581, allocations: 468.3 kB / 0.5766 GB, free: 1.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.3584, allocations: 293.6 kB / 0.5769 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.3587, allocations: 198.5 kB / 0.5771 GB, free: 1.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.3589, allocations: 394.7 kB / 0.5775 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.3596, allocations: 486 kB / 0.5779 GB, free: 356 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009615/0.3606, allocations: 0.7459 MB / 0.5787 GB, free: 15.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.3622, allocations: 1.25 MB / 0.5799 GB, free: 14.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3622, allocations: 4 kB / 0.5799 GB, free: 14.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00252/0.3647, allocations: 1.506 MB / 0.5814 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/0.3648, allocations: 69.55 kB / 0.5814 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001928/0.3668, allocations: 1.241 MB / 0.5826 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.3672, allocations: 121.8 kB / 0.5827 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/0.368, allocations: 195.7 kB / 0.5829 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.3711, allocations: 3.158 MB / 0.586 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.3719, allocations: 79.97 kB / 0.5861 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.372, allocations: 79.88 kB / 0.5862 GB, free: 7.398 MB / 430.1 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.0005951/0.3726, allocations: 369.4 kB / 0.5865 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.3727, allocations: 79.53 kB / 0.5866 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.3755, allocations: 1.199 MB / 0.5878 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.3755, allocations: 12 kB / 0.5878 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3755, allocations: 8 kB / 0.5878 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.3756, allocations: 11.86 kB / 0.5878 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.38, allocations: 2.312 MB / 0.5901 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.38, allocations: 4 kB / 0.5901 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007201/0.3808, allocations: 139.8 kB / 0.5902 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.3809, allocations: 40.83 kB / 0.5902 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.3809, allocations: 27.91 kB / 0.5903 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.3822, allocations: 1.534 MB / 0.5918 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3822, allocations: 0 / 0.5918 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/0.386, allocations: 1.849 MB / 0.5936 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.3865, allocations: 171.3 kB / 0.5937 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.3867, allocations: 76.03 kB / 0.5938 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/0.3874, allocations: 95.84 kB / 0.5939 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.3875, allocations: 56.5 kB / 0.5939 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.3876, allocations: 31.97 kB / 0.594 GB, free: 15.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005097/0.3881, allocations: 402.8 kB / 0.5944 GB, free: 14.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3881, allocations: 0 / 0.5944 GB, free: 14.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009321/0.389, allocations: 232 kB / 0.5946 GB, free: 14.55 MB / 446.1 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.0003124/0.3894, allocations: 183.1 kB / 0.5948 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.392, allocations: 1.486 MB / 0.5962 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.392, allocations: 0 / 0.5962 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.3933, allocations: 0.6239 MB / 0.5968 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008837/0.3942, allocations: 172.6 kB / 0.597 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.3985, allocations: 2.442 MB / 0.5994 GB, free: 9.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/0.3993, allocations: 1.114 MB / 0.6005 GB, free: 8.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.3996, allocations: 63.44 kB / 0.6005 GB, free: 8.348 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3996, allocations: 0 / 0.6005 GB, free: 8.348 MB / 446.1 MB Notification: Performance of Templates: time 0.02639/0.426, allocations: 17.9 MB / 0.618 GB, free: 6.484 MB / 462.1 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: 10.390238821040839] Failed to read output from testmodel.py, exit status != 0: 0.4352887710556388 0.452104486 0.122024113 Calling exit ...