Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 197.3 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.6 MB / 244.3 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000779/0.000779, allocations: 93.52 kB / 296.4 MB, free: 6.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002155/0.0002155, allocations: 8 kB / 356.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1915, allocations: 51.28 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL): time 0.003417/0.1949, allocations: 4.404 MB / 411.9 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1966, allocations: 1.447 MB / 413.4 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.1969, allocations: 16.75 kB / 413.4 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1971, allocations: 91.12 kB / 413.5 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1975, allocations: 179.7 kB / 413.6 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1979, allocations: 254.5 kB / 413.9 MB, free: 21.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.1985, allocations: 0.9619 MB / 414.9 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.1989, allocations: 311.9 kB / 415.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.1991, allocations: 302.6 kB / 415.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.1994, allocations: 350.2 kB / 415.8 MB, free: 19.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.1995, allocations: 47.94 kB / 415.8 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1996, allocations: 47.98 kB / 415.9 MB, free: 19.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.1997, allocations: 147.3 kB / 416 MB, free: 19.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1998, allocations: 181.2 kB / 416.2 MB, free: 19.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.2003, allocations: 0.8415 MB / 417 MB, free: 18.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2003, allocations: 0 / 417 MB, free: 18.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2003, allocations: 0 / 417 MB, free: 18.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2003, allocations: 0 / 417 MB, free: 18.23 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001629/0.202, allocations: 1.096 MB / 418.1 MB, free: 17.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.202, allocations: 19.97 kB / 418.2 MB, free: 17.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.2026, allocations: 162.7 kB / 418.3 MB, free: 16.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.2034, allocations: 0.5863 MB / 418.9 MB, free: 16.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.2034, allocations: 69.94 kB / 419 MB, free: 16.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.2035, allocations: 79.91 kB / 419.1 MB, free: 16.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.2046, allocations: 0.7863 MB / 419.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.2047, allocations: 0 / 419.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.2047, allocations: 35.98 kB / 419.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.2048, allocations: 16 kB / 419.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2058, allocations: 0.6012 MB / 420.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.2087, allocations: 2.752 MB / 423.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000944/0.2097, allocations: 0.5718 MB / 423.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.2102, allocations: 318.4 kB / 424.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.2102, allocations: 16.55 kB / 424.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006663/0.2109, allocations: 456.6 kB / 424.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=69): time 1.994e-06/0.2109, allocations: 4 kB / 424.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=69): time 0.002694/0.2136, allocations: 1.253 MB / 425.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2137, allocations: 119.4 kB / 426 MB, free: 8.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.2141, allocations: 0.5587 MB / 426.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.2142, allocations: 45.7 kB / 426.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.2144, allocations: 356.3 kB / 426.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2145, allocations: 209.1 kB / 427.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.2145, allocations: 16 kB / 427.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.2146, allocations: 386.8 kB / 427.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.215, allocations: 237.9 kB / 427.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.2155, allocations: 442.8 kB / 428.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.216, allocations: 307.8 kB / 428.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.216, allocations: 7.953 kB / 428.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001267/0.2173, allocations: 0.8715 MB / 429.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/0.2174, allocations: 267.1 kB / 429.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2174, allocations: 4 kB / 429.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/0.2178, allocations: 151.5 kB / 429.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.2183, allocations: 135.7 kB / 429.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.2203, allocations: 2.29 MB / 432.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.2207, allocations: 99.42 kB / 432.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.2208, allocations: 35.98 kB / 432.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-06/0.2208, allocations: 4 kB / 432.3 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/0.2219, allocations: 0.7615 MB / 433.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2219, allocations: 4 kB / 433.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/0.2222, allocations: 151.3 kB / 433.2 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.2227, allocations: 123.8 kB / 433.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.2249, allocations: 2.299 MB / 435.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.2254, allocations: 83.36 kB / 435.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.2255, allocations: 31.98 kB / 435.8 MB, free: 14.71 MB / 314.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_last,fundamentalWaveCurrent.mean1.y_last,$PRE.fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.mean2.y_last,$PRE.fundamentalWaveVoltage.mean1.y_last,fundamentalWaveVoltage.mean1.y_last,$PRE.fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.mean2.y_last,$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.0004161/0.2259, allocations: 312.9 kB / 436.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.226, allocations: 75.11 kB / 436.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.2276, allocations: 0.7921 MB / 436.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.2276, allocations: 11.95 kB / 437 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2276, allocations: 4 kB / 437 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2276, allocations: 3.984 kB / 437 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.2299, allocations: 1.576 MB / 438.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2299, allocations: 0 / 438.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.2303, allocations: 99.88 kB / 438.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.2307, allocations: 136.6 kB / 438.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.2307, allocations: 15.98 kB / 438.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.2331, allocations: 2.282 MB / 441.1 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2331, allocations: 0 / 441.1 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.2351, allocations: 1.163 MB / 442.2 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.2353, allocations: 220 kB / 442.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.2354, allocations: 16 kB / 442.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.2359, allocations: 51.95 kB / 442.5 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.236, allocations: 56.47 kB / 442.6 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.2361, allocations: 31.98 kB / 442.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004165/0.2365, allocations: 387.1 kB / 443 MB, free: 7.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2365, allocations: 4 kB / 443 MB, free: 7.242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009806/0.2375, allocations: 367 kB / 443.3 MB, free: 6.883 MB / 314.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_last,fundamentalWaveVoltage.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,fundamentalWaveCurrent.mean2.y_last) * 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.0001733/0.2377, allocations: 135.4 kB / 443.5 MB, free: 6.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.2401, allocations: 1.5 MB / 445 MB, free: 5.195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.2401, allocations: 0 / 445 MB, free: 5.195 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.2409, allocations: 0.53 MB / 445.5 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.2416, allocations: 133.5 kB / 445.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.2441, allocations: 1.75 MB / 447.4 MB, free: 2.746 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.2446, allocations: 0.9708 MB / 448.4 MB, free: 1.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.2448, allocations: 55.42 kB / 448.4 MB, free: 1.695 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2448, allocations: 0 / 448.4 MB, free: 1.695 MB / 314.7 MB Notification: Performance of Templates: time 0.01489/0.2597, allocations: 12.74 MB / 461.1 MB, free: 5.004 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_RL/SinglePhaseTwoLevel_RL.csv","../files/Modelica_trunk_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.y0,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y0,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.f,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.f,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.sin2.y,fundamentalWaveCurrent.u,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,fundamentalWaveCurrent.y0Cos,fundamentalWaveCurrent.y0Sin,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.y0,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y0,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.f,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.f,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.sin2.y,fundamentalWaveVoltage.u,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y0Cos,fundamentalWaveVoltage.y0Sin,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.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.limiter.y,signalPWM.notFire,signalPWM.refType,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.f,sine.offset,sine.phase,sine.startTime,sine.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v