Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 118.6 kB / 18.45 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 207.6 kB / 19.4 MB, free: 3.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.48/1.48, allocations: 227.7 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 59.91 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2274, allocations: 50.55 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.008597/0.236, allocations: 6.611 MB / 416.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.24, allocations: 2.08 MB / 418.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/0.2404, allocations: 43.75 kB / 419 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.2411, allocations: 301.6 kB / 419.3 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.2422, allocations: 0.4931 MB / 419.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.2431, allocations: 499.2 kB / 420.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.2469, allocations: 3.84 MB / 424.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.2493, allocations: 1.909 MB / 426 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.2512, allocations: 1.601 MB / 427.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.2533, allocations: 1.833 MB / 429.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005534/0.2539, allocations: 411.9 kB / 429.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006337/0.2545, allocations: 420 kB / 430.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009387/0.2554, allocations: 1.021 MB / 431.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001883/0.2573, allocations: 1.761 MB / 433 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.2625, allocations: 5.189 MB / 438.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2625, allocations: 3.938 kB / 438.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2625, allocations: 0 / 438.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.204e-05/0.2626, allocations: 4 kB / 438.2 MB, free: 5.309 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.008877/0.2715, allocations: 4.069 MB / 442.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2715, allocations: 12.03 kB / 442.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.2735, allocations: 0.5024 MB / 442.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/0.2781, allocations: 2.306 MB / 445.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.2783, allocations: 193.1 kB / 445.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/0.2787, allocations: 260.1 kB / 445.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007012/0.2858, allocations: 3.901 MB / 449.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.835e-05/0.2858, allocations: 7.938 kB / 449.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/0.2861, allocations: 99.98 kB / 449.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2862, allocations: 92.7 kB / 449.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006647/0.2928, allocations: 3.527 MB / 453.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01864/0.3115, allocations: 10.51 MB / 463.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006001/0.3175, allocations: 3.79 MB / 467.5 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.3202, allocations: 1.558 MB / 469 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3203, allocations: 30.06 kB / 469 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003415/0.3238, allocations: 2.005 MB / 471.1 MB, free: 3.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=220): time 3.817e-06/0.3238, allocations: 0 / 471.1 MB, free: 3.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=220): time 0.01943/0.3432, allocations: 7.31 MB / 478.4 MB, free: 12.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.3434, allocations: 259.5 kB / 478.6 MB, free: 12.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/0.3468, allocations: 2.256 MB / 480.9 MB, free: 9.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/0.3471, allocations: 97.67 kB / 481 MB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.3483, allocations: 1.132 MB / 482.1 MB, free: 8.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007643/0.3491, allocations: 0.7052 MB / 482.8 MB, free: 7.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007119/0.3498, allocations: 432.1 kB / 483.2 MB, free: 7.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3499, allocations: 313.1 kB / 483.5 MB, free: 7.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/0.3525, allocations: 1.341 MB / 484.9 MB, free: 5.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/0.3555, allocations: 1.852 MB / 486.7 MB, free: 3.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/0.3607, allocations: 3.098 MB / 489.8 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.3607, allocations: 4 kB / 489.8 MB, free: 500 kB / 398.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00738/0.3681, allocations: 3.927 MB / 493.8 MB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-05/0.3682, allocations: 97.09 kB / 493.9 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.3682, allocations: 12 kB / 493.9 MB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.3702, allocations: 0.8525 MB / 494.7 MB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.3718, allocations: 383.3 kB / 495.1 MB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.3842, allocations: 8.529 MB / 0.4918 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.3862, allocations: 330.4 kB / 0.4921 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.3864, allocations: 91.97 kB / 0.4922 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00378/0.3901, allocations: 2.179 MB / 0.4943 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002707/0.3928, allocations: 1.781 MB / 0.4961 GB, free: 13.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004676/0.3975, allocations: 2.958 MB / 0.499 GB, free: 10.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.067e-06/0.3975, allocations: 4 kB / 0.499 GB, free: 10.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006553/0.4041, allocations: 3.787 MB / 0.5027 GB, free: 6.934 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.4042, allocations: 96.17 kB / 0.5028 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.4042, allocations: 12 kB / 0.5028 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.406, allocations: 0.8526 MB / 0.5036 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.4075, allocations: 359.3 kB / 0.504 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.4196, allocations: 8.506 MB / 0.5123 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.4215, allocations: 294.7 kB / 0.5125 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.4217, allocations: 87.98 kB / 0.5126 GB, free: 12.58 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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[2].zeroOrderHold.sampleTrigger,$whenCondition16,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition18,signalPWM[3].sawtooth.count,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].zeroOrderHold.ySample,$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,signalPWM[2].zeroOrderHold.ySample,$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,signalPWM[1].zeroOrderHold.ySample,$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.0006991/0.4224, allocations: 395.3 kB / 0.513 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.4228, allocations: 266.4 kB / 0.5133 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00709/0.4299, allocations: 3.652 MB / 0.5168 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.4299, allocations: 20 kB / 0.5168 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.4299, allocations: 4 kB / 0.5168 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.4299, allocations: 11.95 kB / 0.5169 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.4414, allocations: 6.739 MB / 0.5234 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.4414, allocations: 7.922 kB / 0.5234 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.4426, allocations: 263.6 kB / 0.5237 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.4445, allocations: 0.8248 MB / 0.5245 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.4446, allocations: 59.95 kB / 0.5246 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.4569, allocations: 8.499 MB / 0.5329 GB, free: 7.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4569, allocations: 8 kB / 0.5329 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009769/0.4667, allocations: 5.531 MB / 0.5383 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.4681, allocations: 0.6512 MB / 0.5389 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.4685, allocations: 83.94 kB / 0.539 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.4699, allocations: 191.8 kB / 0.5392 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006469/0.4705, allocations: 289.6 kB / 0.5394 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.4707, allocations: 71.95 kB / 0.5395 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.1961/0.6668, allocations: 1.569 MB / 0.541 GB, free: 126.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6668, allocations: 0.7188 kB / 0.541 GB, free: 126.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004198/0.671, allocations: 1.365 MB / 0.5424 GB, free: 126.2 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.0003635/0.6713, allocations: 260.6 kB / 0.5426 GB, free: 126.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008052/0.6794, allocations: 5.984 MB / 0.5485 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.6794, allocations: 5.156 kB / 0.5485 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002584/0.682, allocations: 1.983 MB / 0.5504 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.6841, allocations: 0.6395 MB / 0.551 GB, free: 123.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/0.692, allocations: 6.293 MB / 0.5572 GB, free: 119.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.6935, allocations: 2.435 MB / 0.5596 GB, free: 117.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001951/0.6954, allocations: 0.9502 MB / 0.5605 GB, free: 116.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.6959, allocations: 167.4 kB / 0.5606 GB, free: 116.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6959, allocations: 0 / 0.5606 GB, free: 116.5 MB / 462.1 MB Notification: Performance of Templates: time 0.06905/0.7649, allocations: 55.25 MB / 0.6146 GB, free: 61.73 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_R/PolyphaseTwoLevel_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches