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.001408/0.001408, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001696/0.001696, allocations: 209 kB / 24.48 MB, free: 3.938 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.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.1869/0.1869, allocations: 38.54 MB / 353.2 MB, free: 12.33 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.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: 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.002387/0.002387, allocations: 67.91 kB / 493.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.304, allocations: 62.46 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008668/0.3126, allocations: 6.276 MB / 0.5493 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.3157, allocations: 1.661 MB / 0.5509 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.316, allocations: 32.03 kB / 0.5509 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.3167, allocations: 208.7 kB / 0.5511 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008511/0.3175, allocations: 392.7 kB / 0.5515 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.318, allocations: 227.8 kB / 0.5517 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.3192, allocations: 1.075 MB / 0.5528 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.3196, allocations: 302.3 kB / 0.5531 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008084/0.3204, allocations: 491.4 kB / 0.5535 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/0.3212, allocations: 474.2 kB / 0.554 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3213, allocations: 89.7 kB / 0.5541 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.3215, allocations: 89.88 kB / 0.5542 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.3218, allocations: 280 kB / 0.5544 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.3221, allocations: 337.9 kB / 0.5548 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.3233, allocations: 1.05 MB / 0.5558 GB, free: 7.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3233, allocations: 0 / 0.5558 GB, free: 7.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3233, allocations: 1.062 kB / 0.5558 GB, free: 7.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3233, allocations: 4 kB / 0.5558 GB, free: 7.121 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00201/0.3253, allocations: 0.9598 MB / 0.5567 GB, free: 6.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3253, allocations: 15.98 kB / 0.5567 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.3255, allocations: 80.45 kB / 0.5568 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.3267, allocations: 0.5835 MB / 0.5574 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.3269, allocations: 186.4 kB / 0.5576 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.327, allocations: 63.94 kB / 0.5576 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3284, allocations: 0.7498 MB / 0.5584 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3284, allocations: 4 kB / 0.5584 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.3285, allocations: 24 kB / 0.5584 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.3285, allocations: 15.94 kB / 0.5584 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.3298, allocations: 0.5972 MB / 0.559 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/0.3332, allocations: 2.136 MB / 0.5611 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009107/0.3341, allocations: 397 kB / 0.5614 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.3345, allocations: 191.2 kB / 0.5616 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3346, allocations: 4.281 kB / 0.5616 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/0.335, allocations: 243.4 kB / 0.5619 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.334e-06/0.335, allocations: 0 / 0.5619 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00314/0.3382, allocations: 0.7956 MB / 0.5626 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.3383, allocations: 140.5 kB / 0.5628 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.3387, allocations: 349.5 kB / 0.5631 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.3387, allocations: 41.64 kB / 0.5631 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.339, allocations: 324.6 kB / 0.5635 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3391, allocations: 127 kB / 0.5636 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3393, allocations: 78.12 kB / 0.5637 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3395, allocations: 346.8 kB / 0.564 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.3398, allocations: 136.8 kB / 0.5641 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.3402, allocations: 254 kB / 0.5644 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.3418, allocations: 0.6603 MB / 0.565 GB, free: 13.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3418, allocations: 0 / 0.565 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001111/0.3429, allocations: 0.5136 MB / 0.5655 GB, free: 12.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3429, allocations: 11.92 kB / 0.5655 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3429, allocations: 4 kB / 0.5655 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/0.3434, allocations: 157 kB / 0.5657 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.3437, allocations: 75.91 kB / 0.5657 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.3473, allocations: 2.117 MB / 0.5678 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.3477, allocations: 47.83 kB / 0.5679 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3477, allocations: 16 kB / 0.5679 GB, free: 10.35 MB / 414.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.0003868/0.3481, allocations: 251.4 kB / 0.5681 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.3482, allocations: 43.72 kB / 0.5681 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3495, allocations: 475.6 kB / 0.5686 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3495, allocations: 4 kB / 0.5686 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3495, allocations: 7.938 kB / 0.5686 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3495, allocations: 7.922 kB / 0.5686 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.3503, allocations: 0.53 MB / 0.5691 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3503, allocations: 0 / 0.5691 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.3505, allocations: 47.97 kB / 0.5692 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.3509, allocations: 144.7 kB / 0.5693 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.351, allocations: 8 kB / 0.5693 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.3544, allocations: 2.102 MB / 0.5714 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3544, allocations: 0 / 0.5714 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.356, allocations: 0.6907 MB / 0.5721 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.3562, allocations: 71.67 kB / 0.5721 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.3563, allocations: 8 kB / 0.5721 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3566, allocations: 15.98 kB / 0.5721 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.3567, allocations: 39.92 kB / 0.5722 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3567, allocations: 8 kB / 0.5722 GB, free: 5.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.357, allocations: 247.1 kB / 0.5724 GB, free: 5.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.357, allocations: 0 / 0.5724 GB, free: 5.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006867/0.3577, allocations: 167.6 kB / 0.5726 GB, free: 5.316 MB / 414.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.0001573/0.3579, allocations: 109.9 kB / 0.5727 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.359, allocations: 0.4985 MB / 0.5732 GB, free: 4.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.359, allocations: 4 kB / 0.5732 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.3596, allocations: 319.5 kB / 0.5735 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.3603, allocations: 126.4 kB / 0.5736 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.3631, allocations: 1.314 MB / 0.5749 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3635, allocations: 327.1 kB / 0.5752 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3636, allocations: 35.44 kB / 0.5752 GB, free: 2.504 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3636, allocations: 0 / 0.5752 GB, free: 2.504 MB / 414.1 MB Notification: Performance of Templates: time 0.01611/0.3797, allocations: 10.05 MB / 0.5851 GB, free: 8.48 MB / 430.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: 8.713143995963037] Failed to read output from testmodel.py, exit status != 0: 0.38954755011945963 0.405181342 0.07856631 Calling exit ...