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.00173/0.00173, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001991/0.001991, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.378/1.378, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.61 kB / 302.1 MB, free: 5.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.0923, allocations: 49.45 MB / 351.5 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.007638/0.09997, allocations: 6.289 MB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.1036, allocations: 1.862 MB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.1043, allocations: 47.69 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.1048, allocations: 277.6 kB / 360 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.106, allocations: 485 kB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.1068, allocations: 451.3 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003207/0.11, allocations: 3.692 MB / 364.6 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.1126, allocations: 2.557 MB / 367.2 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.1143, allocations: 1.558 MB / 368.7 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.1164, allocations: 1.806 MB / 370.5 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005202/0.117, allocations: 404 kB / 370.9 MB, free: 128 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1446/0.2616, allocations: 400.6 kB / 371.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.2629, allocations: 0.9924 MB / 372.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.2652, allocations: 1.736 MB / 374 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005065/0.2703, allocations: 5.032 MB / 379.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2703, allocations: 0 / 379.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2703, allocations: 0.75 kB / 379.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001405/0.2705, allocations: 0 / 379.1 MB, free: 13.48 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.009427/0.2799, allocations: 3.854 MB / 382.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.28, allocations: 9.938 kB / 382.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007495/0.2807, allocations: 342.7 kB / 383.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/0.2853, allocations: 2.182 MB / 385.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.2854, allocations: 194.5 kB / 385.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/0.2859, allocations: 254.5 kB / 385.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/0.2921, allocations: 3.878 MB / 389.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/0.2922, allocations: 7.906 kB / 389.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.2924, allocations: 103 kB / 389.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.596e-05/0.2925, allocations: 99.64 kB / 390 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005715/0.2982, allocations: 3.509 MB / 393.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.3131, allocations: 10.35 MB / 403.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005244/0.3183, allocations: 3.929 MB / 407.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.321, allocations: 1.648 MB / 409.4 MB, free: 9.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.3211, allocations: 45 kB / 409.4 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003042/0.3242, allocations: 1.975 MB / 411.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=220): time 3.997e-06/0.3242, allocations: 0 / 411.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=220): time 0.01794/0.3421, allocations: 7.284 MB / 418.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.3423, allocations: 255.6 kB / 419 MB, free: 304 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.3453, allocations: 2.098 MB / 421.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002837/0.3456, allocations: 98.33 kB / 421.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009345/0.3465, allocations: 1.054 MB / 422.2 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005961/0.3471, allocations: 0.6708 MB / 422.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006944/0.3478, allocations: 432.1 kB / 423.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.3479, allocations: 301.1 kB / 423.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.3502, allocations: 1.302 MB / 424.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.3527, allocations: 1.847 MB / 426.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.3573, allocations: 3.073 MB / 429.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3573, allocations: 4 kB / 429.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006586/0.3639, allocations: 3.883 MB / 433.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/0.364, allocations: 93.09 kB / 433.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/0.364, allocations: 16.38 kB / 433.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.3659, allocations: 0.8484 MB / 434.7 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.3674, allocations: 386.8 kB / 435 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.3786, allocations: 8.531 MB / 443.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.3809, allocations: 329.7 kB / 443.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.3813, allocations: 83.98 kB / 444 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004395/0.3857, allocations: 2.12 MB / 446.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002347/0.388, allocations: 1.757 MB / 447.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004076/0.3921, allocations: 2.934 MB / 450.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.237e-06/0.3922, allocations: 8 kB / 450.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006349/0.3985, allocations: 3.733 MB / 454.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.775e-05/0.3986, allocations: 100.6 kB / 454.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.3986, allocations: 20.05 kB / 454.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.4004, allocations: 0.8526 MB / 455.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4018, allocations: 353.3 kB / 455.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.413, allocations: 8.503 MB / 464.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.4153, allocations: 286.3 kB / 464.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.4155, allocations: 83.98 kB / 464.7 MB, free: 1.629 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.0007323/0.4163, allocations: 405.8 kB / 465.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005266/0.4168, allocations: 241.1 kB / 465.3 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/0.4233, allocations: 3.646 MB / 469 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.4233, allocations: 24 kB / 469 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4233, allocations: 112 / 469 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.4234, allocations: 15.89 kB / 469 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/0.4355, allocations: 6.685 MB / 475.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.4356, allocations: 0 / 475.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.4368, allocations: 277.5 kB / 476 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.4386, allocations: 0.8342 MB / 476.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/0.4389, allocations: 55.95 kB / 476.9 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/0.4504, allocations: 8.481 MB / 485.3 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4504, allocations: 0 / 485.3 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009341/0.4598, allocations: 5.489 MB / 490.8 MB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.4616, allocations: 0.6344 MB / 491.5 MB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004297/0.462, allocations: 75.95 kB / 491.5 MB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.4634, allocations: 187.7 kB / 491.7 MB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006509/0.4641, allocations: 297.6 kB / 492 MB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.4643, allocations: 71.95 kB / 492.1 MB, free: 6.047 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002094/0.4664, allocations: 1.461 MB / 493.5 MB, free: 4.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4664, allocations: 0 / 493.5 MB, free: 4.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003317/0.4697, allocations: 1.344 MB / 494.9 MB, free: 3.215 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.0003654/0.4701, allocations: 262.4 kB / 495.1 MB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009268/0.4793, allocations: 6.088 MB / 0.4895 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.4794, allocations: 1.812 kB / 0.4895 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.4827, allocations: 2.068 MB / 0.4915 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.4854, allocations: 0.6165 MB / 0.4921 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009772/0.4951, allocations: 6.046 MB / 0.498 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.4972, allocations: 2.381 MB / 0.5003 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002346/0.4996, allocations: 0.9314 MB / 0.5012 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.5001, allocations: 163.4 kB / 0.5014 GB, free: 0.668 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5001, allocations: 0 / 0.5014 GB, free: 0.668 MB / 414.1 MB Notification: Performance of Templates: time 0.2321/0.7322, allocations: 53.34 MB / 0.5535 GB, free: 117.2 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 gbode -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