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: 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.0.0_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.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.002251/0.002251, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.357/2.357, allocations: 222.9 MB / 241.8 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 50.84 kB / 300.6 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1689, allocations: 49.46 MB / 350.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.0129/0.1818, allocations: 6.284 MB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.1886, allocations: 1.831 MB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.1909, allocations: 35.81 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.1924, allocations: 222.5 kB / 358.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.1954, allocations: 453.6 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.1972, allocations: 391.6 kB / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006988/0.2042, allocations: 3.847 MB / 363.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0059/0.2102, allocations: 2.299 MB / 365.4 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003729/0.214, allocations: 1.21 MB / 366.6 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004841/0.2189, allocations: 1.645 MB / 368.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001797/0.2207, allocations: 208 kB / 368.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.2229, allocations: 208 kB / 368.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002993/0.2259, allocations: 0.7707 MB / 369.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3322/0.5583, allocations: 1.503 MB / 371 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009658/0.568, allocations: 4.004 MB / 375 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.5681, allocations: 2.5 kB / 375 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5681, allocations: 0.5312 kB / 375 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000348/0.5684, allocations: 0 / 375 MB, free: 15.27 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.02189/0.5903, allocations: 3.85 MB / 378.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/0.5904, allocations: 9.984 kB / 378.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.5929, allocations: 342.5 kB / 379.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009425/0.6024, allocations: 2.128 MB / 381.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005266/0.6029, allocations: 199.4 kB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/0.6051, allocations: 254.6 kB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.6215, allocations: 3.88 MB / 385.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.6217, allocations: 10.94 kB / 385.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005823/0.6223, allocations: 102.1 kB / 385.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/0.6224, allocations: 95.92 kB / 385.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/0.6356, allocations: 3.511 MB / 389.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03512/0.6708, allocations: 10.46 MB / 399.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008486/0.6793, allocations: 3.924 MB / 403.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004918/0.6843, allocations: 1.655 MB / 405.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.6846, allocations: 29.11 kB / 405.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006487/0.6911, allocations: 1.984 MB / 407.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=220): time 1.113e-05/0.6912, allocations: 7.984 kB / 407.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=220): time 0.03395/0.7252, allocations: 7.279 MB / 414.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003168/0.7256, allocations: 258.8 kB / 414.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007351/0.733, allocations: 2.096 MB / 417 MB, free: 2.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001177/0.7342, allocations: 97.67 kB / 417.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002605/0.7368, allocations: 1.052 MB / 418.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001974/0.7388, allocations: 0.6725 MB / 418.8 MB, free: 284 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003208/0.7421, allocations: 436.1 kB / 419.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.7423, allocations: 303.8 kB / 419.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004418/0.7467, allocations: 1.306 MB / 420.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005148/0.7519, allocations: 1.84 MB / 422.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009657/0.7616, allocations: 3.07 MB / 425.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-05/0.7616, allocations: 8 kB / 425.8 MB, free: 8.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01447/0.7761, allocations: 3.885 MB / 429.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.7763, allocations: 93.09 kB / 429.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/0.7764, allocations: 16 kB / 429.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/0.7791, allocations: 0.8489 MB / 430.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.7815, allocations: 384.5 kB / 431 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.7983, allocations: 7.88 MB / 438.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/0.8027, allocations: 329.7 kB / 439.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009754/0.8038, allocations: 87.98 kB / 439.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008578/0.8124, allocations: 2.12 MB / 441.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003863/0.8163, allocations: 1.763 MB / 443.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006204/0.8226, allocations: 2.937 MB / 446.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.824e-05/0.8226, allocations: 4 kB / 446.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.01116/0.8338, allocations: 3.733 MB / 449.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.834, allocations: 101.1 kB / 449.9 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/0.8341, allocations: 12.31 kB / 449.9 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002676/0.8368, allocations: 0.8489 MB / 450.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/0.8387, allocations: 353.2 kB / 451.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.8542, allocations: 7.878 MB / 459 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.8574, allocations: 278.3 kB / 459.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000646/0.8581, allocations: 91.98 kB / 459.4 MB, free: 6.844 MB / 366.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.001427/0.8596, allocations: 388.7 kB / 459.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.8607, allocations: 241.1 kB / 460 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009571/0.8703, allocations: 3.646 MB / 463.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/0.8704, allocations: 22.62 kB / 463.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.8704, allocations: 4 kB / 463.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/0.8705, allocations: 19.89 kB / 463.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/0.8977, allocations: 6.696 MB / 470.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.8978, allocations: 0 / 470.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/0.9004, allocations: 276.6 kB / 470.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003873/0.9043, allocations: 0.8287 MB / 471.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006741/0.905, allocations: 63.95 kB / 471.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0215/0.9266, allocations: 7.841 MB / 479.4 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9266, allocations: 0 / 479.4 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/0.9455, allocations: 5.497 MB / 484.9 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/0.948, allocations: 0.6228 MB / 485.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/0.9496, allocations: 75.95 kB / 485.6 MB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/0.9523, allocations: 187.8 kB / 485.8 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/0.9534, allocations: 296.9 kB / 486 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004901/0.9539, allocations: 71.95 kB / 486.1 MB, free: 11.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004109/0.9581, allocations: 1.457 MB / 487.6 MB, free: 10.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.9581, allocations: 7.938 kB / 487.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.008715/0.9668, allocations: 1.344 MB / 488.9 MB, free: 9.094 MB / 398.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.001073/0.9679, allocations: 261 kB / 489.2 MB, free: 8.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01423/0.9822, allocations: 6.038 MB / 495.2 MB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/0.9822, allocations: 1 kB / 495.2 MB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005372/0.9876, allocations: 2.074 MB / 497.3 MB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005388/0.993, allocations: 0.5615 MB / 497.9 MB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/1.02, allocations: 7.105 MB / 0.4931 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005002/1.025, allocations: 2.315 MB / 0.4954 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.026, allocations: 163.4 kB / 0.4955 GB, free: 6.582 MB / 414.1 MB Notification: Performance of SimCode: time 1.483e-06/1.026, allocations: 0 / 0.4955 GB, free: 6.582 MB / 414.1 MB Notification: Performance of Templates: time 0.4405/1.467, allocations: 55.25 MB / 0.5495 GB, free: 117.5 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches