Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) 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_trunk_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_trunk_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.001087/0.001088, allocations: 94.59 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002595, allocations: 8 kB / 308.4 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09283, allocations: 51.52 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.006805/0.09969, allocations: 6.1 MB / 366 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.104, allocations: 2.049 MB / 368.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.1051, allocations: 35.81 kB / 368.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007417/0.1059, allocations: 222.4 kB / 368.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.1076, allocations: 457.5 kB / 368.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1088, allocations: 439.6 kB / 369.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1946/0.3034, allocations: 3.984 MB / 373.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/0.3078, allocations: 2.323 MB / 375.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.3105, allocations: 1.069 MB / 376.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.3138, allocations: 1.456 MB / 378 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.3149, allocations: 137.6 kB / 378.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000848/0.3158, allocations: 149.9 kB / 378.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007063/0.3165, allocations: 0.6751 MB / 379 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001889/0.3184, allocations: 1.421 MB / 380.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004975/0.3234, allocations: 3.988 MB / 384.4 MB, free: 7.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3234, allocations: 0.8906 kB / 384.4 MB, free: 7.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.3234, allocations: 0 / 384.4 MB, free: 7.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001911/0.3236, allocations: 0 / 384.4 MB, free: 7.18 MB / 302.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.009057/0.3327, allocations: 3.432 MB / 387.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3327, allocations: 9.469 kB / 387.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.3355, allocations: 0.5283 MB / 388.4 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.34, allocations: 2.268 MB / 390.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.3403, allocations: 222.3 kB / 390.9 MB, free: 4.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000673/0.341, allocations: 249.2 kB / 391.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007091/0.3481, allocations: 3.959 MB / 395.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.929e-05/0.3481, allocations: 9.938 kB / 395.1 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.3484, allocations: 104.8 kB / 395.2 MB, free: 1.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.135e-05/0.3485, allocations: 90.39 kB / 395.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006124/0.3546, allocations: 3.626 MB / 398.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/0.3733, allocations: 10.69 MB / 409.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005984/0.3794, allocations: 4.037 MB / 413.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.3824, allocations: 1.715 MB / 415.3 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.3825, allocations: 34.75 kB / 415.4 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003511/0.386, allocations: 2.058 MB / 417.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=220): time 4.479e-06/0.3861, allocations: 0.5625 kB / 417.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=220): time 0.01987/0.4059, allocations: 7.506 MB / 424.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.4061, allocations: 260.8 kB / 425.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003348/0.4095, allocations: 2.256 MB / 427.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004028/0.4099, allocations: 93.67 kB / 427.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.4109, allocations: 1.126 MB / 428.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.4117, allocations: 0.6655 MB / 429.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.412, allocations: 222 kB / 429.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.4121, allocations: 301.1 kB / 429.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/0.4147, allocations: 1.374 MB / 431.2 MB, free: 276 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.4176, allocations: 1.912 MB / 433.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005134/0.4227, allocations: 3.2 MB / 436.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.4227, allocations: 4 kB / 436.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007219/0.43, allocations: 4.053 MB / 440.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004132/0.4304, allocations: 0.5564 MB / 440.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.4304, allocations: 19.94 kB / 440.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.4324, allocations: 0.8517 MB / 441.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.4341, allocations: 399.4 kB / 442.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.4447, allocations: 7.898 MB / 450.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.4474, allocations: 365.7 kB / 450.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004383/0.4478, allocations: 83.98 kB / 450.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.4478, allocations: 4 kB / 450.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007386/0.4552, allocations: 3.712 MB / 454.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.048e-05/0.4553, allocations: 15.94 kB / 454.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/0.4572, allocations: 0.8523 MB / 455.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.4588, allocations: 369.4 kB / 455.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.4702, allocations: 7.884 MB / 463.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.4726, allocations: 318 kB / 463.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004442/0.4731, allocations: 87.98 kB / 463.7 MB, free: 15.1 MB / 382.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.002817/0.4759, allocations: 1.205 MB / 465 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009015/0.4769, allocations: 249 kB / 465.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007847/0.4847, allocations: 3.791 MB / 469 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.4848, allocations: 24 kB / 469 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4848, allocations: 0 / 469 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.224e-05/0.4848, allocations: 11.95 kB / 469 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.4981, allocations: 6.879 MB / 475.9 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4982, allocations: 7.938 kB / 475.9 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.4995, allocations: 289.2 kB / 476.2 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/0.5013, allocations: 0.8326 MB / 477 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.5015, allocations: 55.95 kB / 477.1 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.5127, allocations: 7.858 MB / 484.9 MB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5127, allocations: 8 kB / 484.9 MB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.5237, allocations: 5.691 MB / 490.6 MB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/0.5256, allocations: 0.642 MB / 491.3 MB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009581/0.5265, allocations: 83.94 kB / 491.4 MB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/0.5287, allocations: 227.8 kB / 491.6 MB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007125/0.5294, allocations: 284.8 kB / 491.9 MB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/0.5296, allocations: 79.95 kB / 491.9 MB, free: 2.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003378/0.533, allocations: 1.57 MB / 493.5 MB, free: 1.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.533, allocations: 0 / 493.5 MB, free: 1.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005731/0.5388, allocations: 1.352 MB / 494.9 MB, free: 15.77 MB / 414.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.0006165/0.5394, allocations: 261 kB / 495.1 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/0.551, allocations: 6.26 MB / 0.4896 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/0.551, allocations: 10.81 kB / 0.4896 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004029/0.5551, allocations: 2.132 MB / 0.4917 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/0.5592, allocations: 0.6097 MB / 0.4923 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.5727, allocations: 7.309 MB / 0.4995 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/0.5756, allocations: 2.38 MB / 0.5018 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/0.5765, allocations: 171.3 kB / 0.5019 GB, free: 12.58 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5765, allocations: 0 / 0.5019 GB, free: 12.58 MB / 430.1 MB Notification: Performance of Templates: time 0.2528/0.8294, allocations: 56.78 MB / 0.5574 GB, free: 135 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R_res.mat","/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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches