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.001377/0.001377, allocations: 84.84 kB / 20.68 MB, free: 1.035 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.001597/0.001597, allocations: 165.1 kB / 23.96 MB, free: 4.164 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.516/1.516, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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.1795/0.1795, allocations: 29.43 MB / 290.1 MB, free: 3.297 MB / 270.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.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.493e-06/1.493e-06, allocations: 0 / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.306e-05, allocations: 6.219 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008516/0.008539, allocations: 6.238 MB / 437 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.01164, allocations: 1.569 MB / 438.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.01203, allocations: 31.75 kB / 438.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.01268, allocations: 178.6 kB / 438.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009629/0.01364, allocations: 401.4 kB / 439.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.01418, allocations: 235.5 kB / 439.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.01562, allocations: 1.098 MB / 440.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.01613, allocations: 302.9 kB / 440.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.01729, allocations: 0.6662 MB / 441.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008094/0.0181, allocations: 430.9 kB / 441.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.01824, allocations: 88 kB / 441.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.0184, allocations: 84 kB / 442 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003457/0.01875, allocations: 299.2 kB / 442.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003678/0.01911, allocations: 279.5 kB / 442.6 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.02064, allocations: 1.063 MB / 443.6 MB, free: 4.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.02065, allocations: 4 kB / 443.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.02065, allocations: 4 kB / 443.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.022e-05/0.02067, allocations: 0 / 443.6 MB, free: 4.969 MB / 366.1 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.002509/0.02318, allocations: 0.9452 MB / 444.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.02323, allocations: 11.98 kB / 444.6 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.02341, allocations: 76.47 kB / 444.7 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.02487, allocations: 0.5944 MB / 445.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/0.02514, allocations: 190.4 kB / 445.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.02526, allocations: 60.33 kB / 445.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.02691, allocations: 0.7502 MB / 446.3 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.02693, allocations: 7.875 kB / 446.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.027, allocations: 28 kB / 446.3 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.02702, allocations: 16 kB / 446.3 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.02838, allocations: 0.5971 MB / 446.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1749/0.2032, allocations: 2.135 MB / 449 MB, free: 29.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009905/0.2042, allocations: 396.6 kB / 449.4 MB, free: 29.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.2046, allocations: 187.8 kB / 449.6 MB, free: 29.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.2047, allocations: 6.375 kB / 449.6 MB, free: 29.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004514/0.2051, allocations: 238.9 kB / 449.8 MB, free: 29.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.2051, allocations: 0 / 449.8 MB, free: 29.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.003393/0.2085, allocations: 0.7903 MB / 450.6 MB, free: 28.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.2086, allocations: 135 kB / 450.8 MB, free: 28.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.209, allocations: 352.4 kB / 451.1 MB, free: 28.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.209, allocations: 38.98 kB / 451.2 MB, free: 28.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.2092, allocations: 330.8 kB / 451.5 MB, free: 28.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.2093, allocations: 124 kB / 451.6 MB, free: 28.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.2094, allocations: 79.45 kB / 451.7 MB, free: 28.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.402e-05/0.2095, allocations: 354.4 kB / 452 MB, free: 27.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.2098, allocations: 130.1 kB / 452.1 MB, free: 27.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.2102, allocations: 256.3 kB / 452.4 MB, free: 27.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.2118, allocations: 0.6515 MB / 453 MB, free: 27.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.2118, allocations: 1.125 kB / 453 MB, free: 27.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001251/0.2131, allocations: 0.515 MB / 453.6 MB, free: 27.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2131, allocations: 6.281 kB / 453.6 MB, free: 27.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2131, allocations: 4.281 kB / 453.6 MB, free: 27.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.2137, allocations: 157.6 kB / 453.7 MB, free: 27.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.214, allocations: 75.52 kB / 453.8 MB, free: 27.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.2176, allocations: 2.109 MB / 455.9 MB, free: 25.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.218, allocations: 44.25 kB / 456 MB, free: 25.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.218, allocations: 19.58 kB / 456 MB, free: 25.38 MB / 366.1 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.0003795/0.2184, allocations: 258.5 kB / 456.2 MB, free: 25.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.2185, allocations: 49.36 kB / 456.3 MB, free: 25.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.2199, allocations: 473.8 kB / 456.7 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2199, allocations: 4.125 kB / 456.7 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2199, allocations: 2.031 kB / 456.7 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.2199, allocations: 3.297 kB / 456.7 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000892/0.2208, allocations: 0.5268 MB / 457.3 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2208, allocations: 1.891 kB / 457.3 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.2211, allocations: 45.92 kB / 457.3 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/0.2216, allocations: 154.7 kB / 457.5 MB, free: 24.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.2216, allocations: 7.406 kB / 457.5 MB, free: 24.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.2247, allocations: 2.092 MB / 459.6 MB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2248, allocations: 1.438 kB / 459.6 MB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.2264, allocations: 0.6873 MB / 460.3 MB, free: 22.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.2266, allocations: 81.36 kB / 460.3 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.2267, allocations: 8.172 kB / 460.3 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.2269, allocations: 17.09 kB / 460.4 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.227, allocations: 38.36 kB / 460.4 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.2271, allocations: 12.86 kB / 460.4 MB, free: 22.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.2273, allocations: 243 kB / 460.7 MB, free: 22.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2273, allocations: 0 / 460.7 MB, free: 22.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006969/0.228, allocations: 168.4 kB / 460.8 MB, free: 22.28 MB / 366.1 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 0.0001389/0.2282, allocations: 111.2 kB / 460.9 MB, free: 22.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.2293, allocations: 488.8 kB / 461.4 MB, free: 21.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2293, allocations: 4.125 kB / 461.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.2298, allocations: 328.5 kB / 461.7 MB, free: 21.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.2305, allocations: 132.2 kB / 461.9 MB, free: 21.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2325, allocations: 1.162 MB / 463 MB, free: 21.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.2329, allocations: 329.2 kB / 463.3 MB, free: 20.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002584/0.2331, allocations: 72.11 kB / 463.4 MB, free: 20.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.2332, allocations: 38.19 kB / 463.4 MB, free: 20.9 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2332, allocations: 0 / 463.4 MB, free: 20.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01347/0.2467, allocations: 6.881 MB / 470.3 MB, free: 19.04 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.101408369839191] Failed to read output from testmodel.py, exit status != 0: 0.2553989924490452 0.26495452999999997 0.24195890899999994 Calling exit ...