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.0009993/0.0009992, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.356/1.356, allocations: 194.3 MB / 208.4 MB, free: 6.746 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.00168/0.00168, allocations: 120.7 kB / 253.5 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.243e-05, allocations: 4 kB / 304.9 MB, free: 29.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07048/0.07051, allocations: 44.51 MB / 349.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.3473, allocations: 79.78 MB / 429.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.3475, allocations: 88.97 kB / 429.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02863/0.3762, allocations: 12.09 MB / 441.4 MB, free: 4.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3762, allocations: 0 / 441.4 MB, free: 4.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-05/0.3763, allocations: 16 kB / 441.4 MB, free: 4.961 MB / 298.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.001522/0.3778, allocations: 0.9813 MB / 442.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3779, allocations: 12.03 kB / 442.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.378, allocations: 102.9 kB / 442.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.3786, allocations: 0.5019 MB / 443 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.3787, allocations: 51.75 kB / 443.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.254e-05/0.3788, allocations: 74.84 kB / 443.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.3797, allocations: 0.7127 MB / 443.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3798, allocations: 4 kB / 443.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/0.3798, allocations: 23.69 kB / 443.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3798, allocations: 16 kB / 443.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.3806, allocations: 499.4 kB / 444.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.3837, allocations: 2.693 MB / 447.1 MB, free: 340 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007601/0.3845, allocations: 0.5023 MB / 447.6 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.3849, allocations: 275.9 kB / 447.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.385, allocations: 12.55 kB / 447.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/0.3857, allocations: 415.6 kB / 448.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.274e-06/0.3857, allocations: 0 / 448.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.001075/0.3868, allocations: 0.609 MB / 448.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.3868, allocations: 127.1 kB / 449 MB, free: 14.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.3874, allocations: 462.8 kB / 449.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.3874, allocations: 50.5 kB / 449.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.3877, allocations: 329.8 kB / 449.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.3878, allocations: 206.8 kB / 450 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3879, allocations: 14.88 kB / 450 MB, free: 14.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.388, allocations: 376.4 kB / 450.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.3884, allocations: 191.2 kB / 450.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.3888, allocations: 379.1 kB / 451 MB, free: 13.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.3892, allocations: 257.7 kB / 451.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3892, allocations: 4 kB / 451.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00115/0.3904, allocations: 0.7598 MB / 452 MB, free: 12.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006827/0.3911, allocations: 1.855 MB / 453.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3911, allocations: 4 kB / 453.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.3916, allocations: 146.8 kB / 454 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.3921, allocations: 131.5 kB / 454.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.3946, allocations: 2.279 MB / 456.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/0.3952, allocations: 92.52 kB / 456.5 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.3953, allocations: 32.8 kB / 456.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3953, allocations: 4 kB / 456.5 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/0.3964, allocations: 0.681 MB / 457.2 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3964, allocations: 4.25 kB / 457.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.3968, allocations: 143.6 kB / 457.3 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.3973, allocations: 131.5 kB / 457.5 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.3997, allocations: 2.278 MB / 459.8 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.4002, allocations: 92.02 kB / 459.8 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.4003, allocations: 31.23 kB / 459.9 MB, free: 5.504 MB / 314.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 () * 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.0002107/0.4005, allocations: 152.7 kB / 460 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4006, allocations: 71.16 kB / 460.1 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.4018, allocations: 0.6635 MB / 460.8 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.4018, allocations: 7.953 kB / 460.8 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4018, allocations: 3.938 kB / 460.8 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4018, allocations: 7.922 kB / 460.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.4038, allocations: 1.472 MB / 462.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4039, allocations: 0 / 462.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.4043, allocations: 99.62 kB / 462.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000355/0.4047, allocations: 140 kB / 462.5 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.4048, allocations: 11.25 kB / 462.5 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.4072, allocations: 2.275 MB / 464.8 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4072, allocations: 0 / 464.8 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.4088, allocations: 1.036 MB / 465.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.4091, allocations: 208.4 kB / 466 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.423e-05/0.4092, allocations: 16.31 kB / 466 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.4097, allocations: 50.45 kB / 466.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4098, allocations: 68.59 kB / 466.1 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.4099, allocations: 26.3 kB / 466.2 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000466/0.4104, allocations: 356.6 kB / 466.5 MB, free: 280 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4104, allocations: 0 / 466.5 MB, free: 280 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.001223/0.4116, allocations: 362.1 kB / 466.9 MB, free: 15.95 MB / 330.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) * 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.0002556/0.4119, allocations: 133.7 kB / 467 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.4142, allocations: 1.366 MB / 468.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4142, allocations: 0 / 468.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.4149, allocations: 478.8 kB / 468.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.4155, allocations: 111.2 kB / 468.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.4175, allocations: 1.02 MB / 470 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.4181, allocations: 0.9598 MB / 470.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005041/0.4186, allocations: 125 kB / 471 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.4187, allocations: 43.42 kB / 471.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4187, allocations: 0 / 471.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of Templates: time 0.01868/0.4374, allocations: 11.23 MB / 482.3 MB, free: 408 kB / 330.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)