Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 107.8 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001439, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 47.94 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.304, allocations: 49.43 MB / 400.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.008667/0.3128, allocations: 6.31 MB / 406.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.3169, allocations: 1.847 MB / 408.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.3184, allocations: 43.75 kB / 408.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3195, allocations: 289.6 kB / 408.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.3217, allocations: 497 kB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.323, allocations: 447.3 kB / 409.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004326/0.3273, allocations: 3.696 MB / 413.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003475/0.3308, allocations: 2.559 MB / 415.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.3331, allocations: 1.558 MB / 417.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.3361, allocations: 1.809 MB / 419.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001092/0.3372, allocations: 400 kB / 419.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3384, allocations: 400 kB / 420.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.3399, allocations: 1.001 MB / 421.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003353/0.3432, allocations: 1.734 MB / 422.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005927/0.3492, allocations: 5.053 MB / 427.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.3492, allocations: 4 kB / 427.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3492, allocations: 0 / 427.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002053/0.3494, allocations: 0 / 427.9 MB, free: 13.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.01175/0.3612, allocations: 3.948 MB / 431.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.3613, allocations: 8.031 kB / 431.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001094/0.3624, allocations: 357.8 kB / 432.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.3635, allocations: 354.8 kB / 432.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005564/0.3691, allocations: 2.198 MB / 434.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.3693, allocations: 197.1 kB / 434.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007141/0.37, allocations: 255.9 kB / 435.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008211/0.3783, allocations: 3.878 MB / 439 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-05/0.3784, allocations: 8 kB / 439 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004954/0.3789, allocations: 95.98 kB / 439.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-05/0.379, allocations: 96.7 kB / 439.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00679/0.3858, allocations: 3.512 MB / 442.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0205/0.4063, allocations: 10.38 MB / 453.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00611/0.4125, allocations: 3.935 MB / 457 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/0.4155, allocations: 1.656 MB / 458.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.4157, allocations: 33.91 kB / 458.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003746/0.4195, allocations: 1.984 MB / 460.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=220): time 5.741e-06/0.4195, allocations: 0 / 460.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=220): time 0.01923/0.4387, allocations: 7.287 MB / 468 MB, free: 4.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.4389, allocations: 263.5 kB / 468.3 MB, free: 3.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/0.4425, allocations: 2.1 MB / 470.4 MB, free: 1.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004118/0.443, allocations: 97.67 kB / 470.5 MB, free: 1.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.4441, allocations: 1.069 MB / 471.5 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008009/0.4449, allocations: 0.6976 MB / 472.2 MB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000934/0.4458, allocations: 436.1 kB / 472.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.4459, allocations: 301.1 kB / 472.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.4484, allocations: 1.306 MB / 474.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/0.4511, allocations: 1.846 MB / 476.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.456, allocations: 3.074 MB / 479.2 MB, free: 8.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.456, allocations: 4 kB / 479.2 MB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006898/0.4629, allocations: 3.896 MB / 483.1 MB, free: 4.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.813e-05/0.463, allocations: 93.09 kB / 483.2 MB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/0.4631, allocations: 16 kB / 483.2 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.4651, allocations: 0.8526 MB / 484 MB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.4666, allocations: 387 kB / 484.4 MB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.4784, allocations: 8.529 MB / 492.9 MB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.4807, allocations: 326.4 kB / 493.3 MB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/0.4811, allocations: 92.08 kB / 493.3 MB, free: 10.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004022/0.4851, allocations: 2.12 MB / 495.5 MB, free: 8.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002712/0.4879, allocations: 1.757 MB / 497.2 MB, free: 6.047 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004703/0.4926, allocations: 2.938 MB / 0.4884 GB, free: 2.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.142e-05/0.4926, allocations: 4 kB / 0.4884 GB, free: 2.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006728/0.4994, allocations: 3.752 MB / 0.4921 GB, free: 15.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-05/0.4995, allocations: 97.11 kB / 0.4922 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.4995, allocations: 12.06 kB / 0.4922 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.5014, allocations: 0.8526 MB / 0.493 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.5029, allocations: 359.3 kB / 0.4934 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.5146, allocations: 8.518 MB / 0.5017 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.5169, allocations: 294.7 kB / 0.502 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/0.5173, allocations: 87.98 kB / 0.5021 GB, free: 4.746 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 90 (signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition14,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition16,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition18,signalPWM[1].zeroOrderHold.ySample,signalPWM[3].sawtooth.count,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].zeroOrderHold.ySample,signalPWM[3].notFire,signalPWM[2].sawtooth.count,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].zeroOrderHold.ySample,signalPWM[2].notFire,signalPWM[1].sawtooth.count,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].zeroOrderHold.ySample,signalPWM[1].notFire,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition13,$whenCondition15,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001148/0.5185, allocations: 391.4 kB / 0.5024 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009351/0.5194, allocations: 250.5 kB / 0.5027 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007412/0.5269, allocations: 3.639 MB / 0.5062 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.5269, allocations: 20 kB / 0.5063 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5269, allocations: 3.984 kB / 0.5063 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.5269, allocations: 11.97 kB / 0.5063 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.5395, allocations: 6.693 MB / 0.5128 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.5396, allocations: 0 / 0.5128 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.5409, allocations: 271.6 kB / 0.5131 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.5427, allocations: 0.8288 MB / 0.5139 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/0.543, allocations: 63.84 kB / 0.5139 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.5542, allocations: 8.505 MB / 0.5222 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5543, allocations: 0 / 0.5222 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009549/0.5638, allocations: 5.512 MB / 0.5276 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/0.5655, allocations: 0.6434 MB / 0.5283 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007441/0.5663, allocations: 79.94 kB / 0.5283 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.5681, allocations: 191.8 kB / 0.5285 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007827/0.5689, allocations: 293.5 kB / 0.5288 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/0.5691, allocations: 67.97 kB / 0.5289 GB, free: 8.992 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00305/0.5722, allocations: 1.461 MB / 0.5303 GB, free: 7.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5722, allocations: 0 / 0.5303 GB, free: 7.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00459/0.5768, allocations: 1.349 MB / 0.5316 GB, free: 6.156 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x) * Number of discrete variables: 66 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,signalPWM[1].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last) * Number of discrete states: 18 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,46)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2262/0.803, allocations: 6.23 MB / 0.5377 GB, free: 133.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01111/0.8142, allocations: 6.097 MB / 0.5436 GB, free: 132.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.8142, allocations: 2.531 kB / 0.5436 GB, free: 132.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003636/0.8178, allocations: 2.076 MB / 0.5457 GB, free: 131.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.8209, allocations: 0.6042 MB / 0.5463 GB, free: 131.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0335/0.8544, allocations: 25.72 MB / 0.5714 GB, free: 109.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.856, allocations: 2.372 MB / 0.5737 GB, free: 107.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002007/0.858, allocations: 0.9385 MB / 0.5746 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.8591, allocations: 1.001 MB / 0.5756 GB, free: 105.1 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.8591, allocations: 8 kB / 0.5756 GB, free: 105.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.9721, allocations: 78.15 MB / 0.6519 GB, free: 27.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.45, allocations: 7.875 kB / 0.6519 GB, free: 27.54 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_R.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_R/PolyphaseTwoLevel_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches