Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001129/0.001129, allocations: 179.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.132/1.132, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001524/0.001524, allocations: 117.4 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002684, allocations: 11.98 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0696/0.06988, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/0.2843, allocations: 79.86 MB / 434.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.2846, allocations: 87.84 kB / 435 MB, free: 9.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02699/0.3116, allocations: 12.09 MB / 447.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3116, allocations: 0 / 447.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.3117, allocations: 16 kB / 447.1 MB, free: 15.69 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001767/0.3135, allocations: 1.073 MB / 448.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3135, allocations: 8.031 kB / 448.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.3137, allocations: 94.88 kB / 448.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/0.3143, allocations: 0.5166 MB / 448.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.3144, allocations: 54.06 kB / 448.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.3145, allocations: 72.41 kB / 448.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3157, allocations: 0.7703 MB / 449.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3157, allocations: 4 kB / 449.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.826e-05/0.3158, allocations: 31.69 kB / 449.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3158, allocations: 19.94 kB / 449.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.3169, allocations: 0.5968 MB / 450.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.3205, allocations: 2.69 MB / 453.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3216, allocations: 0.5808 MB / 453.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.3216, allocations: 12.56 kB / 453.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.3224, allocations: 477.6 kB / 454.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 2.014e-06/0.3224, allocations: 0 / 454.1 MB, free: 8.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=69): time 0.002866/0.3253, allocations: 1.238 MB / 455.4 MB, free: 7.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.3254, allocations: 111.4 kB / 455.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/0.3259, allocations: 482 kB / 455.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.326, allocations: 49.69 kB / 456 MB, free: 6.996 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.3262, allocations: 320.6 kB / 456.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.3264, allocations: 217 kB / 456.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3264, allocations: 16 kB / 456.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3266, allocations: 378.8 kB / 456.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.3271, allocations: 260 kB / 457.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/0.3278, allocations: 430.2 kB / 457.6 MB, free: 5.332 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.3284, allocations: 309.9 kB / 457.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3284, allocations: 0 / 457.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001524/0.3299, allocations: 0.8756 MB / 458.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007812/0.3307, allocations: 1.86 MB / 460.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3307, allocations: 8 kB / 460.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004464/0.3312, allocations: 140.8 kB / 460.7 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.3317, allocations: 131.8 kB / 460.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.3342, allocations: 2.332 MB / 463.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.3347, allocations: 95.44 kB / 463.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.3348, allocations: 28 kB / 463.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.3348, allocations: 4 kB / 463.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.3361, allocations: 0.7694 MB / 464.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3361, allocations: 11.98 kB / 464.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.3364, allocations: 136.8 kB / 464.2 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.3369, allocations: 128 kB / 464.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.3393, allocations: 2.34 MB / 466.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.3398, allocations: 83.41 kB / 466.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.3398, allocations: 32 kB / 466.8 MB, free: 11.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y,$PRE.fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y,$PRE.fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y,$PRE.fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y,$whenCondition6,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition5,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.3402, allocations: 308.9 kB / 467.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.3403, allocations: 71.16 kB / 467.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.3417, allocations: 0.7761 MB / 468 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3417, allocations: 13.92 kB / 468 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.3417, allocations: 0 / 468 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3417, allocations: 3.984 kB / 468 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.3439, allocations: 1.573 MB / 469.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.344, allocations: 4 kB / 469.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.3444, allocations: 91.81 kB / 469.7 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/0.3448, allocations: 152.7 kB / 469.8 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.3448, allocations: 16 kB / 469.8 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.3472, allocations: 2.301 MB / 472.1 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3472, allocations: 4 kB / 472.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.3491, allocations: 1.199 MB / 473.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.3494, allocations: 208.1 kB / 473.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.3495, allocations: 23.98 kB / 473.6 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.3499, allocations: 47.97 kB / 473.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.3501, allocations: 68.45 kB / 473.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.3501, allocations: 23.98 kB / 473.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000391/0.3505, allocations: 362.8 kB / 474 MB, free: 4.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3505, allocations: 0 / 474 MB, free: 4.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001022/0.3515, allocations: 355.2 kB / 474.4 MB, free: 3.797 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,inductor.i) * Number of discrete variables: 22 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y) * Number of discrete states: 6 (signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002094/0.3518, allocations: 145.9 kB / 474.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.3542, allocations: 1.523 MB / 476.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3542, allocations: 1.594 kB / 476.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007912/0.355, allocations: 0.5254 MB / 476.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.3555, allocations: 113.1 kB / 476.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.358, allocations: 1.646 MB / 478.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.3586, allocations: 0.9707 MB / 479.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.359, allocations: 90.42 kB / 479.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3592, allocations: 47.42 kB / 479.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3592, allocations: 0 / 479.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01649/0.3757, allocations: 10.37 MB / 489.8 MB, free: 4.297 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1)