Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009815/0.0009814, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000749/0.000749, allocations: 89.27 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005186, allocations: 8 kB / 327 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3118, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL): time 0.006184/0.3181, allocations: 4.183 MB / 378.8 MB, free: 42.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.3214, allocations: 1.356 MB / 380.1 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007865/0.3222, allocations: 15.78 kB / 380.1 MB, free: 41.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.3226, allocations: 87.88 kB / 380.2 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007702/0.3234, allocations: 173.5 kB / 380.4 MB, free: 40.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3246, allocations: 250.5 kB / 380.6 MB, free: 40.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.326, allocations: 0.9308 MB / 381.6 MB, free: 40.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008065/0.3268, allocations: 306.1 kB / 381.9 MB, free: 39.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.3275, allocations: 289.8 kB / 382.1 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.3281, allocations: 354.2 kB / 382.5 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.3283, allocations: 35.03 kB / 382.5 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.3286, allocations: 40.03 kB / 382.6 MB, free: 39.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.3288, allocations: 143 kB / 382.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.3291, allocations: 176.2 kB / 382.9 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009369/0.33, allocations: 0.8117 MB / 383.7 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3301, allocations: 0 / 383.7 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3301, allocations: 0 / 383.7 MB, free: 38.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.06e-05/0.3301, allocations: 0 / 383.7 MB, free: 38.59 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003186/0.3333, allocations: 1.067 MB / 384.7 MB, free: 37.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3334, allocations: 9.062 kB / 384.8 MB, free: 37.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.3338, allocations: 96.78 kB / 384.8 MB, free: 37.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.3353, allocations: 0.5893 MB / 385.4 MB, free: 37.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.3355, allocations: 60.12 kB / 385.5 MB, free: 37.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.3357, allocations: 80.86 kB / 385.6 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.3382, allocations: 0.7645 MB / 386.3 MB, free: 36.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.3382, allocations: 5.312 kB / 386.3 MB, free: 36.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.3384, allocations: 34.42 kB / 386.4 MB, free: 36.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.3384, allocations: 21.09 kB / 386.4 MB, free: 36.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.3408, allocations: 0.5907 MB / 387 MB, free: 36.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.347, allocations: 2.702 MB / 389.7 MB, free: 33.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.3491, allocations: 0.5762 MB / 390.3 MB, free: 32.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3501, allocations: 326.4 kB / 390.6 MB, free: 32.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.811e-05/0.3502, allocations: 8.562 kB / 390.6 MB, free: 32.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.3516, allocations: 469.6 kB / 391.1 MB, free: 32.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=69): time 4.138e-06/0.3516, allocations: 3.938 kB / 391.1 MB, free: 32.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=69): time 0.00541/0.357, allocations: 1.253 MB / 392.3 MB, free: 30.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.3571, allocations: 115.4 kB / 392.4 MB, free: 30.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/0.3581, allocations: 0.5303 MB / 393 MB, free: 30.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.3582, allocations: 41.7 kB / 393 MB, free: 30.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.3585, allocations: 348.4 kB / 393.3 MB, free: 29.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.3587, allocations: 209 kB / 393.5 MB, free: 29.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.3588, allocations: 16 kB / 393.6 MB, free: 29.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.359, allocations: 382.8 kB / 393.9 MB, free: 29.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/0.3599, allocations: 241.9 kB / 394.2 MB, free: 28.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.361, allocations: 435 kB / 394.6 MB, free: 28.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.362, allocations: 303.8 kB / 394.9 MB, free: 28.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.362, allocations: 4 kB / 394.9 MB, free: 28.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002661/0.3647, allocations: 0.8599 MB / 395.7 MB, free: 27.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.3649, allocations: 276 kB / 396 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.3649, allocations: 4 kB / 396 MB, free: 26.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007772/0.3657, allocations: 148.7 kB / 396.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/0.3667, allocations: 131.8 kB / 396.3 MB, free: 26.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.3707, allocations: 2.295 MB / 398.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.3718, allocations: 91.31 kB / 398.7 MB, free: 24.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.721e-05/0.3719, allocations: 35.98 kB / 398.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.372, allocations: 4 kB / 398.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002403/0.3744, allocations: 0.7614 MB / 399.5 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.3744, allocations: 4.406 kB / 399.5 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006785/0.3751, allocations: 144.8 kB / 399.6 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/0.376, allocations: 127.8 kB / 399.8 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.3796, allocations: 2.302 MB / 402.1 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/0.3805, allocations: 91.39 kB / 402.1 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/0.3806, allocations: 31.98 kB / 402.2 MB, free: 20.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.notFire,$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 (75): * Single equations (assignments): 73 * 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.000549/0.3812, allocations: 308.9 kB / 402.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.3814, allocations: 67.16 kB / 402.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.3839, allocations: 0.7878 MB / 403.3 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.384, allocations: 11.98 kB / 403.3 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.384, allocations: 3.953 kB / 403.3 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.384, allocations: 0 / 403.3 MB, free: 19.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/0.3879, allocations: 1.565 MB / 404.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3879, allocations: 0 / 404.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.3887, allocations: 91.88 kB / 405 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000668/0.3894, allocations: 142.9 kB / 405.1 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.3895, allocations: 23.94 kB / 405.2 MB, free: 17.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.3932, allocations: 2.29 MB / 407.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3933, allocations: 4 kB / 407.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.3969, allocations: 1.171 MB / 408.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.3974, allocations: 208.1 kB / 408.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.3976, allocations: 12 kB / 408.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008911/0.3985, allocations: 55.95 kB / 408.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.3987, allocations: 64.47 kB / 409 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.3988, allocations: 16 kB / 409 MB, free: 13.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007417/0.3996, allocations: 374.8 kB / 409.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3996, allocations: 0 / 409.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001954/0.4016, allocations: 359.1 kB / 409.7 MB, free: 12.61 MB / 298.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.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.notFire,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.0002152/0.4018, allocations: 131.9 kB / 409.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004137/0.406, allocations: 1.489 MB / 411.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.406, allocations: 4 kB / 411.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.4074, allocations: 0.5332 MB / 411.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.4087, allocations: 126.4 kB / 412 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.4126, allocations: 1.713 MB / 413.7 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.4131, allocations: 0.9553 MB / 414.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.4134, allocations: 55.42 kB / 414.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4134, allocations: 4 kB / 414.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of Templates: time 0.02555/0.439, allocations: 12.42 MB / 427.1 MB, free: 11.06 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_RL/SinglePhaseTwoLevel_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,inductor.i,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,inverter.ac.v,inverter.ac.i Variables in the result:L,R,constantVoltage_n.V,constantVoltage_n.i,constantVoltage_n.n.i,constantVoltage_n.n.v,constantVoltage_n.p.i,constantVoltage_n.p.v,constantVoltage_n.v,constantVoltage_p.V,constantVoltage_p.i,constantVoltage_p.n.i,constantVoltage_p.n.v,constantVoltage_p.p.i,constantVoltage_p.p.v,constantVoltage_p.v,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,der(inductor.i),f,f1,fundamentalWaveCurrent.f,fundamentalWaveCurrent.gain.k,fundamentalWaveCurrent.gain.u,fundamentalWaveCurrent.gain.y,fundamentalWaveCurrent.k,fundamentalWaveCurrent.mean1.f,fundamentalWaveCurrent.mean1.u,fundamentalWaveCurrent.mean1.x0,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.yGreaterOrEqualZero,fundamentalWaveCurrent.product1.significantDigits,fundamentalWaveCurrent.product1.u[1],fundamentalWaveCurrent.product1.u[2],fundamentalWaveCurrent.product1.y,fundamentalWaveCurrent.product2.significantDigits,fundamentalWaveCurrent.product2.u[1],fundamentalWaveCurrent.product2.u[2],fundamentalWaveCurrent.product2.y,fundamentalWaveCurrent.rectangularToPolar.u_im,fundamentalWaveCurrent.rectangularToPolar.u_re,fundamentalWaveCurrent.rectangularToPolar.y_abs,fundamentalWaveCurrent.rectangularToPolar.y_arg,fundamentalWaveCurrent.sin1.amplitude,fundamentalWaveCurrent.sin1.freqHz,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.freqHz,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.sin2.y,fundamentalWaveCurrent.u,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,fundamentalWaveCurrent.y_arg,fundamentalWaveCurrent.y_rms,fundamentalWaveVoltage.f,fundamentalWaveVoltage.gain.k,fundamentalWaveVoltage.gain.u,fundamentalWaveVoltage.gain.y,fundamentalWaveVoltage.k,fundamentalWaveVoltage.mean1.f,fundamentalWaveVoltage.mean1.u,fundamentalWaveVoltage.mean1.x0,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.yGreaterOrEqualZero,fundamentalWaveVoltage.product1.significantDigits,fundamentalWaveVoltage.product1.u[1],fundamentalWaveVoltage.product1.u[2],fundamentalWaveVoltage.product1.y,fundamentalWaveVoltage.product2.significantDigits,fundamentalWaveVoltage.product2.u[1],fundamentalWaveVoltage.product2.u[2],fundamentalWaveVoltage.product2.y,fundamentalWaveVoltage.rectangularToPolar.u_im,fundamentalWaveVoltage.rectangularToPolar.u_re,fundamentalWaveVoltage.rectangularToPolar.y_abs,fundamentalWaveVoltage.rectangularToPolar.y_arg,fundamentalWaveVoltage.sin1.amplitude,fundamentalWaveVoltage.sin1.freqHz,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.freqHz,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.sin2.y,fundamentalWaveVoltage.u,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y_arg,fundamentalWaveVoltage.y_rms,ground.p.i,ground.p.v,inductor.L,inductor.i,inductor.n.i,inductor.n.v,inductor.p.i,inductor.p.v,inductor.v,inverter.GoffDiode,inverter.GoffTransistor,inverter.LossPower,inverter.RonDiode,inverter.RonTransistor,inverter.T,inverter.T_heatPort,inverter.VkneeDiode,inverter.VkneeTransistor,inverter.ac.i,inverter.ac.v,inverter.andCondition_n.u1,inverter.andCondition_n.u2,inverter.andCondition_n.y,inverter.andCondition_p.u1,inverter.andCondition_p.u2,inverter.andCondition_p.y,inverter.constantEnable,inverter.dc_n.i,inverter.dc_n.v,inverter.dc_p.i,inverter.dc_p.v,inverter.diode_n.Goff,inverter.diode_n.LossPower,inverter.diode_n.Ron,inverter.diode_n.T,inverter.diode_n.T_heatPort,inverter.diode_n.Vknee,inverter.diode_n.i,inverter.diode_n.n.i,inverter.diode_n.n.v,inverter.diode_n.off,inverter.diode_n.p.i,inverter.diode_n.p.v,inverter.diode_n.v,inverter.diode_p.Goff,inverter.diode_p.LossPower,inverter.diode_p.Ron,inverter.diode_p.T,inverter.diode_p.T_heatPort,inverter.diode_p.Vknee,inverter.diode_p.i,inverter.diode_p.n.i,inverter.diode_p.n.v,inverter.diode_p.off,inverter.diode_p.p.i,inverter.diode_p.p.v,inverter.diode_p.v,inverter.enableLogic.booleanReplicator.nout,inverter.enableLogic.booleanReplicator.u,inverter.enableLogic.booleanReplicator.y[1],inverter.enableLogic.constantEnable,inverter.enableLogic.enableConstantSource.k,inverter.enableLogic.enableConstantSource.y,inverter.enableLogic.internalEnable[1],inverter.enableLogic.m,inverter.enableLogic.useConstantEnable,inverter.fire_n,inverter.fire_p,inverter.iAC,inverter.iDC,inverter.m,inverter.powerAC,inverter.powerDC,inverter.transistor_n.Goff,inverter.transistor_n.LossPower,inverter.transistor_n.Ron,inverter.transistor_n.T,inverter.transistor_n.T_heatPort,inverter.transistor_n.Vknee,inverter.transistor_n.fire,inverter.transistor_n.i,inverter.transistor_n.n.i,inverter.transistor_n.n.v,inverter.transistor_n.off,inverter.transistor_n.p.i,inverter.transistor_n.p.v,inverter.transistor_n.v,inverter.transistor_p.Goff,inverter.transistor_p.LossPower,inverter.transistor_p.Ron,inverter.transistor_p.T,inverter.transistor_p.T_heatPort,inverter.transistor_p.Vknee,inverter.transistor_p.fire,inverter.transistor_p.i,inverter.transistor_p.n.i,inverter.transistor_p.n.v,inverter.transistor_p.off,inverter.transistor_p.p.i,inverter.transistor_p.p.v,inverter.transistor_p.v,inverter.useConstantEnable,inverter.vAC,inverter.vDC,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.v,signalPWM.constantDutyCycle,signalPWM.dutyCycle,signalPWM.f,signalPWM.fire,signalPWM.greaterEqual.u1,signalPWM.greaterEqual.u2,signalPWM.greaterEqual.y,signalPWM.inverse.u,signalPWM.inverse.y,signalPWM.limiter.homotopyType,signalPWM.limiter.limitsAtInit,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.limiter.y,signalPWM.notFire,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.sawtooth.y,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.startTime,signalPWM.zeroOrderHold.u,signalPWM.zeroOrderHold.y,signalPWM.zeroOrderHold.ySample,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v