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.001115/0.001115, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001143/0.001143, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.356/1.356, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009737/0.0009738, allocations: 59.03 kB / 302.1 MB, free: 5.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08555, allocations: 49.43 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.00702/0.0926, allocations: 6.305 MB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003348/0.09598, allocations: 1.854 MB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.09663, allocations: 39.81 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.09719, allocations: 281.6 kB / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.09834, allocations: 492.9 kB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007166/0.09907, allocations: 442.3 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003073/0.1022, allocations: 3.703 MB / 364.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.1046, allocations: 2.553 MB / 367.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.1062, allocations: 1.554 MB / 368.7 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.1082, allocations: 1.806 MB / 370.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006603/0.1088, allocations: 404 kB / 370.9 MB, free: 140 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1673/0.2762, allocations: 397.6 kB / 371.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002562/0.2788, allocations: 0.9948 MB / 372.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005763/0.2846, allocations: 1.733 MB / 374 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006952/0.2916, allocations: 5.04 MB / 379.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2916, allocations: 0 / 379.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2916, allocations: 0 / 379.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001857/0.2918, allocations: 0 / 379.1 MB, free: 13.54 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.00988/0.3017, allocations: 3.854 MB / 382.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3017, allocations: 10.12 kB / 382.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.3024, allocations: 344.2 kB / 383.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/0.3068, allocations: 2.181 MB / 385.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.3069, allocations: 190.7 kB / 385.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004362/0.3074, allocations: 250.6 kB / 385.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006784/0.3142, allocations: 3.883 MB / 389.8 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.431e-05/0.3142, allocations: 11.84 kB / 389.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.3145, allocations: 106.2 kB / 389.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.239e-05/0.3146, allocations: 91.23 kB / 390 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005504/0.3201, allocations: 3.51 MB / 393.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.3341, allocations: 10.35 MB / 403.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005433/0.3396, allocations: 3.926 MB / 407.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.3421, allocations: 1.656 MB / 409.4 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.3422, allocations: 37.8 kB / 409.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003083/0.3453, allocations: 1.977 MB / 411.4 MB, free: 7.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=220): time 3.938e-06/0.3453, allocations: 0 / 411.4 MB, free: 7.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=220): time 0.0181/0.3635, allocations: 7.289 MB / 418.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/0.3637, allocations: 251.6 kB / 419 MB, free: 368 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/0.3671, allocations: 2.099 MB / 421.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003479/0.3675, allocations: 93.67 kB / 421.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.3685, allocations: 1.056 MB / 422.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006565/0.3692, allocations: 0.671 MB / 422.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007026/0.3699, allocations: 436.1 kB / 423.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.37, allocations: 305.1 kB / 423.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.3723, allocations: 1.298 MB / 424.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.3748, allocations: 1.847 MB / 426.7 MB, free: 8.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004635/0.3794, allocations: 3.073 MB / 429.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.3795, allocations: 4 kB / 429.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00666/0.3862, allocations: 3.886 MB / 433.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.3863, allocations: 99.69 kB / 433.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.3863, allocations: 16 kB / 433.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/0.3883, allocations: 0.8527 MB / 434.7 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.3898, allocations: 380.7 kB / 435 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.4012, allocations: 8.525 MB / 443.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.4036, allocations: 325.7 kB / 443.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.4039, allocations: 91.98 kB / 444 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003712/0.4076, allocations: 2.112 MB / 446.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002419/0.4101, allocations: 1.771 MB / 447.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004213/0.4143, allocations: 2.932 MB / 450.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.023e-05/0.4143, allocations: 7.938 kB / 450.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006263/0.4206, allocations: 3.732 MB / 454.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/0.4207, allocations: 101.9 kB / 454.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.4207, allocations: 15.94 kB / 454.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/0.4226, allocations: 0.8484 MB / 455.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4239, allocations: 349.8 kB / 455.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.4352, allocations: 8.508 MB / 464.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.4375, allocations: 290.1 kB / 464.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.4377, allocations: 87.98 kB / 464.7 MB, free: 1.684 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.0008502/0.4386, allocations: 405.1 kB / 465.1 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/0.4391, allocations: 241.1 kB / 465.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006497/0.4456, allocations: 3.644 MB / 469 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.4456, allocations: 20 kB / 469 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4456, allocations: 0 / 469 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.4457, allocations: 11.95 kB / 469 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.457, allocations: 6.687 MB / 475.7 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.4571, allocations: 0 / 475.7 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.4583, allocations: 276.5 kB / 476 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.46, allocations: 0.8326 MB / 476.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/0.4602, allocations: 55.95 kB / 476.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.4718, allocations: 8.488 MB / 485.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4719, allocations: 1.484 kB / 485.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009455/0.4813, allocations: 5.489 MB / 490.8 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/0.4833, allocations: 0.6344 MB / 491.5 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/0.4838, allocations: 75.95 kB / 491.5 MB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.4851, allocations: 195.7 kB / 491.7 MB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006625/0.4858, allocations: 289.6 kB / 492 MB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.486, allocations: 71.95 kB / 492.1 MB, free: 6.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002282/0.4883, allocations: 1.461 MB / 493.6 MB, free: 4.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4883, allocations: 0 / 493.6 MB, free: 4.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003751/0.492, allocations: 1.344 MB / 494.9 MB, free: 3.273 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.000417/0.4925, allocations: 258.8 kB / 495.1 MB, free: 3.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009605/0.5021, allocations: 6.086 MB / 0.4895 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.5021, allocations: 0 / 0.4895 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003374/0.5055, allocations: 2.075 MB / 0.4915 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.5081, allocations: 0.6028 MB / 0.4921 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.5184, allocations: 6.065 MB / 0.498 GB, free: 4.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/0.5206, allocations: 2.377 MB / 0.5003 GB, free: 1.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002402/0.523, allocations: 0.9314 MB / 0.5013 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.5235, allocations: 163.4 kB / 0.5014 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5235, allocations: 0 / 0.5014 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of Templates: time 0.2671/0.7906, allocations: 53.33 MB / 0.5535 GB, free: 117.1 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 -s cvode -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