Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009431/0.0009432, allocations: 191.8 kB / 17.37 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 244.7 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007191/0.0007192, allocations: 92.56 kB / 296.7 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002035/0.0002035, allocations: 8 kB / 356.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1729, allocations: 51.29 MB / 408.1 MB, free: 27.62 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.003292/0.1762, allocations: 4.325 MB / 412.5 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1778, allocations: 1.421 MB / 413.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.1781, allocations: 15.88 kB / 413.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.1783, allocations: 95.19 kB / 414 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1786, allocations: 166.7 kB / 414.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1791, allocations: 247.6 kB / 414.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.1797, allocations: 0.9464 MB / 415.3 MB, free: 20.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.1801, allocations: 378 kB / 415.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.1803, allocations: 302.6 kB / 416 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1806, allocations: 338.2 kB / 416.3 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.1807, allocations: 36 kB / 416.4 MB, free: 19.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1808, allocations: 52 kB / 416.4 MB, free: 19.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.1809, allocations: 143.3 kB / 416.6 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.1811, allocations: 391.6 kB / 417 MB, free: 18.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.1816, allocations: 0.8259 MB / 417.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1816, allocations: 3.938 kB / 417.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1816, allocations: 0 / 417.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1816, allocations: 0 / 417.8 MB, free: 17.93 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00151/0.1831, allocations: 1.069 MB / 418.9 MB, free: 16.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1832, allocations: 8.031 kB / 418.9 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1833, allocations: 122.6 kB / 419 MB, free: 16.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005134/0.1838, allocations: 163.8 kB / 419.1 MB, free: 16.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.1846, allocations: 0.6028 MB / 419.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.1846, allocations: 66.48 kB / 419.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.561e-05/0.1847, allocations: 72.38 kB / 419.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1858, allocations: 0.7692 MB / 420.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1858, allocations: 4 kB / 420.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.1859, allocations: 28 kB / 420.7 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1859, allocations: 16 kB / 420.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009837/0.1869, allocations: 0.5829 MB / 421.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.1899, allocations: 2.664 MB / 423.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1909, allocations: 0.6086 MB / 424.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.1914, allocations: 318.4 kB / 424.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1915, allocations: 8.562 kB / 424.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000683/0.1921, allocations: 457.8 kB / 425.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.274e-06/0.1922, allocations: 0 / 425.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.002783/0.1949, allocations: 1.265 MB / 426.6 MB, free: 8.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.195, allocations: 123.4 kB / 426.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.1955, allocations: 0.5499 MB / 427.2 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.1955, allocations: 45.69 kB / 427.3 MB, free: 8.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1957, allocations: 344.5 kB / 427.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1958, allocations: 201.2 kB / 427.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.1959, allocations: 16 kB / 427.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.1959, allocations: 378.7 kB / 428.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.1964, allocations: 245.9 kB / 428.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.1969, allocations: 430.7 kB / 428.9 MB, free: 6.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.1978, allocations: 0.665 MB / 429.5 MB, free: 5.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1978, allocations: 3.938 kB / 429.5 MB, free: 5.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001277/0.1991, allocations: 0.8648 MB / 430.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.529e-05/0.1992, allocations: 258.5 kB / 430.7 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1992, allocations: 4 kB / 430.7 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/0.1996, allocations: 156.8 kB / 430.8 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.2, allocations: 123.7 kB / 430.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.2021, allocations: 2.325 MB / 433.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.2025, allocations: 99.31 kB / 433.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.2026, allocations: 32 kB / 433.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-06/0.2026, allocations: 4 kB / 433.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/0.2037, allocations: 0.7508 MB / 434.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2037, allocations: 7.938 kB / 434.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.2041, allocations: 156.8 kB / 434.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.2044, allocations: 115.8 kB / 434.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.2069, allocations: 2.311 MB / 436.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.2073, allocations: 91.39 kB / 436.8 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.2074, allocations: 31.98 kB / 436.9 MB, free: 13.98 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 (71): * Single equations (assignments): 69 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000356/0.2077, allocations: 313 kB / 437.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.346e-05/0.2078, allocations: 75.06 kB / 437.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.2094, allocations: 0.7878 MB / 438 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2094, allocations: 4 kB / 438 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2094, allocations: 0 / 438 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.2094, allocations: 4 kB / 438 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.2117, allocations: 1.557 MB / 439.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2117, allocations: 0 / 439.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.2121, allocations: 87.88 kB / 439.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.2125, allocations: 147.6 kB / 439.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.2126, allocations: 19.98 kB / 439.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.2151, allocations: 2.311 MB / 442.1 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2151, allocations: 0 / 442.1 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.2171, allocations: 1.163 MB / 443.3 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.2174, allocations: 208 kB / 443.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.2175, allocations: 12 kB / 443.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.2179, allocations: 55.95 kB / 443.6 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.218, allocations: 60.47 kB / 443.6 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.2181, allocations: 23.98 kB / 443.7 MB, free: 6.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004266/0.2185, allocations: 382.8 kB / 444 MB, free: 6.551 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2185, allocations: 0 / 444 MB, free: 6.551 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00103/0.2196, allocations: 367 kB / 444.4 MB, free: 6.191 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x) * 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 (50): * Single equations (assignments): 41 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/0.2218, allocations: 1.739 MB / 446.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.2242, allocations: 1.491 MB / 447.6 MB, free: 2.891 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2243, allocations: 0 / 447.6 MB, free: 2.891 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.2251, allocations: 0.5288 MB / 448.1 MB, free: 2.348 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.2258, allocations: 119.7 kB / 448.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006359/0.2321, allocations: 4.412 MB / 452.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.2326, allocations: 0.9475 MB / 453.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.233, allocations: 283.3 kB / 453.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.233, allocations: 0 / 453.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.63/3.863, allocations: 14.34 MB / 468.2 MB, free: 14.09 MB / 346.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,inverter.ac.v,inverter.ac.i Variables in the result: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(fundamentalWaveCurrent.mean1.x),der(fundamentalWaveCurrent.mean2.x),der(fundamentalWaveVoltage.mean1.x),der(fundamentalWaveVoltage.mean2.x),f,f1,fundamentalWaveCurrent.f,fundamentalWaveCurrent.gain.k,fundamentalWaveCurrent.gain.u,fundamentalWaveCurrent.gain.y,fundamentalWaveCurrent.k,fundamentalWaveCurrent.mean1.f,fundamentalWaveCurrent.mean1.t0,fundamentalWaveCurrent.mean1.u,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean1.x0,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y0,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean1.y_last,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.t0,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y0,fundamentalWaveCurrent.mean2.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.product1.nu,fundamentalWaveCurrent.product1.significantDigits,fundamentalWaveCurrent.product1.u[1],fundamentalWaveCurrent.product1.u[2],fundamentalWaveCurrent.product1.y,fundamentalWaveCurrent.product2.nu,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.useConjugateComplex,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.t0,fundamentalWaveVoltage.mean1.u,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean1.x0,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y0,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean1.y_last,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.t0,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y0,fundamentalWaveVoltage.mean2.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.product1.nu,fundamentalWaveVoltage.product1.significantDigits,fundamentalWaveVoltage.product1.u[1],fundamentalWaveVoltage.product1.u[2],fundamentalWaveVoltage.product1.y,fundamentalWaveVoltage.product2.nu,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.useConjugateComplex,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y0Cos,fundamentalWaveVoltage.y0Sin,fundamentalWaveVoltage.y_arg,fundamentalWaveVoltage.y_rms,ground.p.i,ground.p.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.s,inverter.diode_n.useHeatPort,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.s,inverter.diode_p.useHeatPort,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.s,inverter.transistor_n.useHeatPort,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.s,inverter.transistor_p.useHeatPort,inverter.transistor_p.v,inverter.useConstantEnable,inverter.useHeatPort,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.useHeatPort,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.simplifiedExpr,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.limiter.y,signalPWM.notFire,signalPWM.refType,signalPWM.sawtooth.T_start,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.count,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.sawtooth.y,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.sampleTrigger,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