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.001119/0.001119, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.429/1.429, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00163/0.00163, allocations: 112.6 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.79e-05, allocations: 4 kB / 298.1 MB, free: 8.223 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08675, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.267/0.3538, allocations: 79.1 MB / 421.7 MB, free: 16.75 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.3541, allocations: 90.06 kB / 421.8 MB, free: 16.7 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02851/0.3826, allocations: 11.97 MB / 433.8 MB, free: 6.863 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3826, allocations: 0 / 433.8 MB, free: 6.863 MB / 315.1 MB Notification: Performance of Transformations before backend: time 4.59e-05/0.3827, allocations: 16 kB / 433.8 MB, free: 6.848 MB / 315.1 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.001646/0.3843, allocations: 0.9857 MB / 434.8 MB, free: 5.863 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3844, allocations: 8.031 kB / 434.8 MB, free: 5.855 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.3846, allocations: 98.88 kB / 434.9 MB, free: 5.758 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.3853, allocations: 0.5127 MB / 435.4 MB, free: 5.289 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.3853, allocations: 20 kB / 435.4 MB, free: 5.27 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.3854, allocations: 50.84 kB / 435.4 MB, free: 5.223 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007219/0.3861, allocations: 458.5 kB / 435.9 MB, free: 4.953 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.387, allocations: 0.6073 MB / 436.5 MB, free: 4.484 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.3871, allocations: 4 kB / 436.5 MB, free: 4.48 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.3871, allocations: 6.547 kB / 436.5 MB, free: 4.477 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3871, allocations: 16 kB / 436.5 MB, free: 4.461 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.3904, allocations: 2.551 MB / 439.1 MB, free: 2.375 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.3912, allocations: 496.2 kB / 439.6 MB, free: 2.082 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.3916, allocations: 257.1 kB / 439.8 MB, free: 1.926 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.3916, allocations: 4.562 kB / 439.8 MB, free: 1.918 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/0.3921, allocations: 398.8 kB / 440.2 MB, free: 1.617 MB / 315.1 MB Notification: Performance of pre-optimization done (n=69): time 1.913e-06/0.3921, allocations: 0 / 440.2 MB, free: 1.617 MB / 315.1 MB Notification: Performance of matching and sorting (n=69): time 0.0008248/0.3929, allocations: 0.5643 MB / 440.8 MB, free: 1.199 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.393, allocations: 115.2 kB / 440.9 MB, free: 1.062 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.3933, allocations: 390.4 kB / 441.3 MB, free: 0.7617 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.3934, allocations: 33.69 kB / 441.3 MB, free: 0.7227 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3935, allocations: 325.6 kB / 441.6 MB, free: 0.4922 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3937, allocations: 207.8 kB / 441.8 MB, free: 320 kB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.3937, allocations: 0 / 441.8 MB, free: 320 kB / 315.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3938, allocations: 374.3 kB / 442.2 MB, free: 15.96 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.3941, allocations: 175.2 kB / 442.3 MB, free: 15.87 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.3946, allocations: 360.7 kB / 442.7 MB, free: 15.54 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.395, allocations: 209 kB / 442.9 MB, free: 15.41 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.395, allocations: 0 / 442.9 MB, free: 15.41 MB / 331.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001013/0.396, allocations: 0.6527 MB / 443.6 MB, free: 14.92 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007166/0.3967, allocations: 1.857 MB / 445.4 MB, free: 12.95 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3968, allocations: 4 kB / 445.4 MB, free: 12.95 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.3972, allocations: 139 kB / 445.6 MB, free: 12.85 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.3977, allocations: 138.3 kB / 445.7 MB, free: 12.71 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.4, allocations: 2.218 MB / 447.9 MB, free: 10.8 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.4005, allocations: 73.66 kB / 448 MB, free: 10.73 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.4006, allocations: 35.17 kB / 448 MB, free: 10.7 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.4006, allocations: 4 kB / 448 MB, free: 10.7 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008939/0.4015, allocations: 0.5651 MB / 448.6 MB, free: 10.3 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4015, allocations: 4.531 kB / 448.6 MB, free: 10.3 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.4019, allocations: 142 kB / 448.7 MB, free: 10.2 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.4023, allocations: 123.6 kB / 448.8 MB, free: 10.08 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.4046, allocations: 2.21 MB / 451.1 MB, free: 8.176 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.4051, allocations: 59.61 kB / 451.1 MB, free: 8.117 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.4051, allocations: 27.06 kB / 451.1 MB, free: 8.094 MB / 331.1 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 () * 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.0002118/0.4053, allocations: 161 kB / 451.3 MB, free: 7.938 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.4055, allocations: 59.25 kB / 451.4 MB, free: 7.879 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.4065, allocations: 0.6011 MB / 452 MB, free: 7.461 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.4066, allocations: 8 kB / 452 MB, free: 7.453 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4066, allocations: 4 kB / 452 MB, free: 7.449 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4066, allocations: 0 / 452 MB, free: 7.449 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.4084, allocations: 1.328 MB / 453.3 MB, free: 6.449 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.4084, allocations: 4 kB / 453.3 MB, free: 6.445 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.4089, allocations: 95.56 kB / 453.4 MB, free: 6.355 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/0.4092, allocations: 125.5 kB / 453.5 MB, free: 6.27 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.4093, allocations: 11.61 kB / 453.5 MB, free: 6.262 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/0.4118, allocations: 2.199 MB / 455.7 MB, free: 4.363 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4119, allocations: 0 / 455.7 MB, free: 4.363 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4132, allocations: 0.9676 MB / 456.7 MB, free: 3.688 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.4134, allocations: 193.6 kB / 456.9 MB, free: 3.512 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.4135, allocations: 15.38 kB / 456.9 MB, free: 3.5 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.4139, allocations: 43.34 kB / 456.9 MB, free: 3.461 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.4141, allocations: 66.7 kB / 457 MB, free: 3.406 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.4141, allocations: 27.05 kB / 457 MB, free: 3.387 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.4144, allocations: 285.3 kB / 457.3 MB, free: 3.172 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4145, allocations: 0 / 457.3 MB, free: 3.172 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.001087/0.4155, allocations: 323 kB / 457.6 MB, free: 2.855 MB / 331.1 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) * 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.0001948/0.4158, allocations: 137 kB / 457.8 MB, free: 2.719 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.4175, allocations: 1.289 MB / 459 MB, free: 1.711 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4175, allocations: 0.8125 kB / 459.1 MB, free: 1.711 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.4181, allocations: 446.4 kB / 459.5 MB, free: 1.379 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.4186, allocations: 85.69 kB / 459.6 MB, free: 1.32 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.4205, allocations: 0.966 MB / 460.5 MB, free: 444 kB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.421, allocations: 0.9668 MB / 461.5 MB, free: 15.45 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0004815/0.4215, allocations: 112.7 kB / 461.6 MB, free: 15.34 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4216, allocations: 39.42 kB / 461.7 MB, free: 15.3 MB / 347.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4216, allocations: 4 kB / 461.7 MB, free: 15.3 MB / 347.1 MB Notification: Performance of Templates: time 0.01668/0.4383, allocations: 9.872 MB / 471.5 MB, free: 5.48 MB / 347.1 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)