Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.000998/0.000998, allocations: 80.41 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.0009153/0.0009153, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9149/0.9149, allocations: 177.1 MB / 206 MB, free: 4.496 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.1165/0.1165, allocations: 29.43 MB / 292 MB, free: 2.648 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.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 370.9 MB, free: 32.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.159e-05, allocations: 2.312 kB / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.004338/0.00435, allocations: 5.57 MB / 376.4 MB, free: 26.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.006031, allocations: 1.609 MB / 378 MB, free: 25.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.006264, allocations: 31.75 kB / 378.1 MB, free: 25.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.006712, allocations: 170.7 kB / 378.2 MB, free: 24.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005085/0.00722, allocations: 381.5 kB / 378.6 MB, free: 24.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.007539, allocations: 239.5 kB / 378.8 MB, free: 24.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.008218, allocations: 1.098 MB / 379.9 MB, free: 23.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.008537, allocations: 302.9 kB / 380.2 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006641/0.009201, allocations: 0.7133 MB / 381 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.009629, allocations: 418.9 kB / 381.4 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.009709, allocations: 84 kB / 381.4 MB, free: 21.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.0098, allocations: 84 kB / 381.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.009979, allocations: 295.2 kB / 381.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.01019, allocations: 283.4 kB / 382.1 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.01067, allocations: 0.5958 MB / 382.7 MB, free: 20.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01067, allocations: 4 kB / 382.7 MB, free: 20.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01067, allocations: 3.938 kB / 382.7 MB, free: 20.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01068, allocations: 0 / 382.7 MB, free: 20.47 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001077/0.01176, allocations: 1.041 MB / 383.7 MB, free: 19.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.01179, allocations: 12.03 kB / 383.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.01192, allocations: 124.5 kB / 383.9 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.01245, allocations: 0.5504 MB / 384.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.805e-05/0.01255, allocations: 194.4 kB / 384.6 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.01261, allocations: 60.38 kB / 384.7 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.01314, allocations: 0.4984 MB / 385.2 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01315, allocations: 0 / 385.2 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.01319, allocations: 28 kB / 385.2 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.01321, allocations: 12 kB / 385.2 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.01351, allocations: 210.7 kB / 385.4 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.01525, allocations: 2.351 MB / 387.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.01561, allocations: 298.6 kB / 388.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.01575, allocations: 114.2 kB / 388.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.01577, allocations: 12.27 kB / 388.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.01596, allocations: 192.3 kB / 388.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.01596, allocations: 0 / 388.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001324/0.01728, allocations: 0.5133 MB / 388.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.01731, allocations: 136.5 kB / 389 MB, free: 13.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.01751, allocations: 390.5 kB / 389.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.01753, allocations: 29.7 kB / 389.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.01766, allocations: 375.3 kB / 389.8 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.01773, allocations: 135.1 kB / 389.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.01782, allocations: 87.77 kB / 390 MB, free: 12.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.01789, allocations: 0.5351 MB / 390.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.01797, allocations: 44.97 kB / 390.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01809, allocations: 215.9 kB / 390.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.01839, allocations: 333.3 kB / 391.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.0184, allocations: 4 kB / 391.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004293/0.01883, allocations: 361.5 kB / 391.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.01884, allocations: 12.03 kB / 391.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01884, allocations: 4 kB / 391.5 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.01911, allocations: 179.4 kB / 391.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.01931, allocations: 79.84 kB / 391.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.02058, allocations: 2.271 MB / 394 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.02076, allocations: 43.72 kB / 394.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.0208, allocations: 15.98 kB / 394.1 MB, free: 8.426 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.02092, allocations: 193.8 kB / 394.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.02098, allocations: 59.66 kB / 394.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.02146, allocations: 314.3 kB / 394.6 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.02147, allocations: 4 kB / 394.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.02147, allocations: 0 / 394.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.02147, allocations: 4 kB / 394.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.02184, allocations: 0.4934 MB / 395.1 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02185, allocations: 0 / 395.1 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.02199, allocations: 39.98 kB / 395.2 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.02223, allocations: 171.5 kB / 395.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.02225, allocations: 11.98 kB / 395.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.02339, allocations: 2.275 MB / 397.6 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02339, allocations: 0 / 397.6 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.02397, allocations: 439.6 kB / 398.1 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.02406, allocations: 71.62 kB / 398.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.0241, allocations: 12 kB / 398.1 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.02422, allocations: 19.92 kB / 398.2 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.0243, allocations: 35.94 kB / 398.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.02431, allocations: 4 kB / 398.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.02442, allocations: 243 kB / 398.4 MB, free: 3.863 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02442, allocations: 0 / 398.4 MB, free: 3.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.02487, allocations: 171.6 kB / 398.6 MB, free: 3.695 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 8.639e-05/0.02496, allocations: 111.2 kB / 398.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.02539, allocations: 431 kB / 399.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02539, allocations: 4 kB / 399.1 MB, free: 3.129 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.02562, allocations: 325.3 kB / 399.4 MB, free: 2.789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.02605, allocations: 132.7 kB / 399.6 MB, free: 2.668 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.02763, allocations: 1.141 MB / 400.7 MB, free: 1.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.573e-05/0.02773, allocations: 165.7 kB / 400.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.02786, allocations: 52.36 kB / 400.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.02805, allocations: 174.1 kB / 401.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02805, allocations: 4 kB / 401.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of Templates: time 0.01199/0.04004, allocations: 8.25 MB / 409.4 MB, free: 8.973 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.126207889057696]