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.001313/0.001313, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001433/0.001433, allocations: 164.3 kB / 24.99 MB, free: 8.336 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.9608/0.9608, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.3091/0.3091, allocations: 29.41 MB / 291.2 MB, free: 2.512 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.823e-06/1.823e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.38e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.006698/0.006722, allocations: 7.021 MB / 376.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.01012, allocations: 2.009 MB / 378.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.01068, allocations: 35.69 kB / 378.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009518/0.01163, allocations: 0.5015 MB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.01285, allocations: 0.575 MB / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.01379, allocations: 438.8 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.01554, allocations: 1.406 MB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006819/0.01622, allocations: 0.5921 MB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.01733, allocations: 0.8377 MB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.01809, allocations: 0.6664 MB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.0182, allocations: 99.94 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007306/0.01893, allocations: 0.5226 MB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.01931, allocations: 0.5339 MB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.01965, allocations: 407 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.02082, allocations: 1.137 MB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.02083, allocations: 0 / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02083, allocations: 0 / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.02084, allocations: 0 / 386.4 MB, free: 10.49 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.002008/0.02285, allocations: 1.618 MB / 388 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.02289, allocations: 11.98 kB / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007272/0.02362, allocations: 296 kB / 388.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.02475, allocations: 0.6712 MB / 389 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.02493, allocations: 329.9 kB / 389.3 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.0251, allocations: 104.7 kB / 389.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.02626, allocations: 1.005 MB / 390.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.02628, allocations: 0 / 390.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.02635, allocations: 40 kB / 390.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.02646, allocations: 69.95 kB / 390.5 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.02722, allocations: 470.8 kB / 391 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.03101, allocations: 4.84 MB / 395.8 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.03211, allocations: 473.4 kB / 396.3 MB, free: 172 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.0325, allocations: 237.3 kB / 396.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.03254, allocations: 16.59 kB / 396.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.03306, allocations: 430.2 kB / 396.9 MB, free: 15.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 2.274e-06/0.03306, allocations: 0 / 396.9 MB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.002547/0.0356, allocations: 1.745 MB / 398.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.03567, allocations: 123.5 kB / 398.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.03606, allocations: 0.5335 MB / 399.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.03611, allocations: 49.69 kB / 399.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.03635, allocations: 0.5107 MB / 399.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.03652, allocations: 285.7 kB / 400.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.03672, allocations: 208.2 kB / 400.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.0369, allocations: 0.5664 MB / 400.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.03723, allocations: 255.9 kB / 401.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.03772, allocations: 0.6274 MB / 401.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.0388, allocations: 0.8598 MB / 402.7 MB, free: 9.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.0388, allocations: 4 kB / 402.7 MB, free: 9.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0013/0.0401, allocations: 1.072 MB / 403.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.04015, allocations: 61.67 kB / 403.8 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008476/0.041, allocations: 0.7522 MB / 404.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.04128, allocations: 95.39 kB / 404.7 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.04172, allocations: 207.7 kB / 404.9 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.04374, allocations: 3.865 MB / 408.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.04414, allocations: 64.12 kB / 408.8 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.04423, allocations: 83.92 kB / 408.9 MB, free: 2.773 MB / 378.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.0003437/0.04458, allocations: 240.3 kB / 409.1 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.04473, allocations: 103.5 kB / 409.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.04596, allocations: 0.6586 MB / 409.9 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.04598, allocations: 19.98 kB / 409.9 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.04598, allocations: 0 / 409.9 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.04599, allocations: 7.922 kB / 409.9 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.04783, allocations: 1.601 MB / 411.5 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.04784, allocations: 8 kB / 411.5 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.04823, allocations: 143.8 kB / 411.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.185e-05/0.04832, allocations: 35.64 kB / 411.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.04837, allocations: 28.02 kB / 411.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008489/0.04922, allocations: 2 MB / 413.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.04922, allocations: 3.938 kB / 413.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.05044, allocations: 1.012 MB / 414.7 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.05066, allocations: 155.4 kB / 414.9 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.05079, allocations: 75.94 kB / 415 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.05106, allocations: 63.92 kB / 415 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.05118, allocations: 56.55 kB / 415.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/0.05122, allocations: 31.97 kB / 415.1 MB, free: 12.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.05148, allocations: 314.8 kB / 415.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05148, allocations: 0 / 415.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007687/0.05225, allocations: 239.9 kB / 415.6 MB, free: 11.75 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.0002798/0.05253, allocations: 194.6 kB / 415.8 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.05379, allocations: 1.11 MB / 416.9 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.05379, allocations: 0 / 416.9 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007174/0.05451, allocations: 443.4 kB / 417.4 MB, free: 9.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.05507, allocations: 171.2 kB / 417.5 MB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.05777, allocations: 1.845 MB / 419.4 MB, free: 7.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.05797, allocations: 259.5 kB / 419.6 MB, free: 7.602 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003547/0.05832, allocations: 189.8 kB / 419.8 MB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.05848, allocations: 60.48 kB / 419.9 MB, free: 7.352 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.05848, allocations: 0 / 419.9 MB, free: 7.352 MB / 394.7 MB Notification: Performance of Templates: time 0.01374/0.07221, allocations: 10.11 MB / 430 MB, free: 13.38 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.06531719584018]