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.001264/0.001264, allocations: 101 kB / 17.59 MB, free: 5.422 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.001295/0.001295, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.341/1.341, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 47.58 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.107, allocations: 49.45 MB / 350.8 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.008234/0.1153, allocations: 6.298 MB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.1197, allocations: 1.866 MB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.1213, allocations: 39.81 kB / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.1222, allocations: 273.7 kB / 359.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.1242, allocations: 485 kB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1254, allocations: 442.2 kB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00373/0.1292, allocations: 3.684 MB / 363.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/0.1319, allocations: 2.557 MB / 366.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.1339, allocations: 1.55 MB / 367.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.1364, allocations: 1.802 MB / 369.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006963/0.1372, allocations: 404 kB / 370.1 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007183/0.1379, allocations: 404 kB / 370.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1694/0.3073, allocations: 0.9917 MB / 371.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002804/0.3102, allocations: 1.741 MB / 373.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005378/0.3156, allocations: 4.952 MB / 378.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3156, allocations: 0 / 378.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3156, allocations: 0 / 378.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001635/0.3158, allocations: 0 / 378.2 MB, free: 13.33 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.01082/0.3266, allocations: 3.849 MB / 382 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3267, allocations: 10.38 kB / 382.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.3277, allocations: 339.5 kB / 382.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/0.3319, allocations: 2.134 MB / 384.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.3321, allocations: 202.1 kB / 384.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006278/0.3328, allocations: 251.3 kB / 385 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007562/0.3403, allocations: 3.883 MB / 388.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-05/0.3404, allocations: 11.69 kB / 388.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/0.3407, allocations: 98.39 kB / 389 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.74e-05/0.3408, allocations: 95.11 kB / 389 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006176/0.347, allocations: 3.513 MB / 392.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.3624, allocations: 10.46 MB / 403 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005783/0.3682, allocations: 3.911 MB / 406.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/0.371, allocations: 1.656 MB / 408.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.3711, allocations: 37.02 kB / 408.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003161/0.3743, allocations: 1.975 MB / 410.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=220): time 4.018e-06/0.3743, allocations: 9.719 kB / 410.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=220): time 0.01876/0.3931, allocations: 7.281 MB / 417.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.3932, allocations: 255.4 kB / 418.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.3964, allocations: 2.104 MB / 420.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003424/0.3967, allocations: 89.67 kB / 420.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.3978, allocations: 1.058 MB / 421.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007768/0.3985, allocations: 0.6685 MB / 422.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007245/0.3993, allocations: 436.1 kB / 422.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.3994, allocations: 301.1 kB / 422.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.4017, allocations: 1.302 MB / 424.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.4044, allocations: 1.842 MB / 425.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004754/0.4092, allocations: 3.069 MB / 429 MB, free: 5.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.4092, allocations: 8 kB / 429 MB, free: 5.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006858/0.4161, allocations: 3.886 MB / 432.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.4162, allocations: 97.09 kB / 433 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.4162, allocations: 16 kB / 433 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.4181, allocations: 0.8568 MB / 433.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.4196, allocations: 383.1 kB / 434.2 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.4309, allocations: 8.531 MB / 442.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/0.4334, allocations: 329.7 kB / 443.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/0.4336, allocations: 91.98 kB / 443.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003706/0.4373, allocations: 2.112 MB / 445.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002438/0.4398, allocations: 1.771 MB / 447 MB, free: 3.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004347/0.4441, allocations: 2.929 MB / 450 MB, free: 40 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.231e-05/0.4442, allocations: 9.266 kB / 450 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006305/0.4505, allocations: 3.741 MB / 453.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.4506, allocations: 99.69 kB / 453.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.4506, allocations: 16 kB / 453.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.4525, allocations: 0.8526 MB / 454.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.454, allocations: 357.1 kB / 455 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.4653, allocations: 8.516 MB / 463.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.4677, allocations: 282.3 kB / 463.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.468, allocations: 90.8 kB / 463.9 MB, free: 2.031 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.0007397/0.4687, allocations: 397.3 kB / 464.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004846/0.4692, allocations: 237.2 kB / 464.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006661/0.4759, allocations: 3.645 MB / 468.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.4759, allocations: 20 kB / 468.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.476, allocations: 0 / 468.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.476, allocations: 7.969 kB / 468.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.4871, allocations: 6.708 MB / 474.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.4871, allocations: 4 kB / 474.9 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.4885, allocations: 269 kB / 475.2 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.4902, allocations: 0.8326 MB / 476 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.4904, allocations: 59.95 kB / 476.1 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.5014, allocations: 8.5 MB / 484.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5014, allocations: 0 / 484.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009252/0.5107, allocations: 5.483 MB / 490.1 MB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.5122, allocations: 0.6304 MB / 490.7 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004919/0.5128, allocations: 83.95 kB / 490.8 MB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.5143, allocations: 188 kB / 491 MB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006284/0.5149, allocations: 293.6 kB / 491.2 MB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.5151, allocations: 79.89 kB / 491.3 MB, free: 6.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002045/0.5171, allocations: 1.457 MB / 492.8 MB, free: 4.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5171, allocations: 0 / 492.8 MB, free: 4.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003516/0.5206, allocations: 1.344 MB / 494.1 MB, free: 3.605 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.0003959/0.5211, allocations: 260.3 kB / 494.4 MB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0146/0.5357, allocations: 8.091 MB / 0.4907 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.5357, allocations: 5 kB / 0.4907 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003661/0.5394, allocations: 2.09 MB / 0.4927 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/0.5426, allocations: 0.5985 MB / 0.4933 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.5534, allocations: 6.084 MB / 0.4993 GB, free: 2.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/0.5555, allocations: 2.319 MB / 0.5015 GB, free: 184 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.5567, allocations: 179.4 kB / 0.5017 GB, free: 8 kB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5567, allocations: 0 / 0.5017 GB, free: 8 kB / 414.1 MB Notification: Performance of Templates: time 0.2459/0.8027, allocations: 55.27 MB / 0.5557 GB, free: 144.4 MB / 446.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