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.001159/0.001159, allocations: 109.1 kB / 17.29 MB, free: 6.059 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.001206/0.001206, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.32/1.32, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009583/0.0009584, allocations: 49.47 kB / 300.8 MB, free: 5.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.0908, allocations: 49.45 MB / 350.3 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.008155/0.099, allocations: 6.281 MB / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.1026, allocations: 1.831 MB / 358.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000979/0.1036, allocations: 35.81 kB / 358.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008116/0.1045, allocations: 218.5 kB / 358.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.1062, allocations: 449.6 kB / 359.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009983/0.1072, allocations: 390.2 kB / 359.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.1111, allocations: 3.68 MB / 363.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.1141, allocations: 2.557 MB / 365.7 MB, free: 4.965 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.1161, allocations: 1.558 MB / 367.2 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002512/0.1186, allocations: 1.841 MB / 369.1 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006232/0.1192, allocations: 404 kB / 369.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000712/0.12, allocations: 400 kB / 369.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1515/0.2714, allocations: 0.9966 MB / 370.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002682/0.2741, allocations: 1.742 MB / 372.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.2786, allocations: 4.075 MB / 376.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2786, allocations: 1.594 kB / 376.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2786, allocations: 0 / 376.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.2788, allocations: 0 / 376.7 MB, free: 13.45 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.01042/0.2892, allocations: 3.848 MB / 380.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2893, allocations: 9.906 kB / 380.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.2902, allocations: 342.5 kB / 380.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/0.2943, allocations: 2.128 MB / 383 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.2946, allocations: 202.9 kB / 383.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005585/0.2951, allocations: 253.8 kB / 383.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007716/0.3028, allocations: 3.881 MB / 387.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.949e-05/0.3029, allocations: 14.94 kB / 387.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.3033, allocations: 103.5 kB / 387.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.963e-05/0.3034, allocations: 90.92 kB / 387.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006362/0.3098, allocations: 3.51 MB / 391 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.3264, allocations: 10.45 MB / 401.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005218/0.3316, allocations: 3.928 MB / 405.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002662/0.3343, allocations: 1.652 MB / 407.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3345, allocations: 35.3 kB / 407.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003302/0.3378, allocations: 1.987 MB / 409.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=220): time 4.548e-06/0.3378, allocations: 0 / 409.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=220): time 0.01899/0.3568, allocations: 7.277 MB / 416.4 MB, free: 2.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.357, allocations: 259.6 kB / 416.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.3603, allocations: 2.096 MB / 418.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004732/0.3608, allocations: 97.67 kB / 418.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.3618, allocations: 1.048 MB / 419.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008209/0.3627, allocations: 0.6709 MB / 420.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007513/0.3634, allocations: 436.1 kB / 421 MB, free: 13.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3635, allocations: 304.5 kB / 421.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.3659, allocations: 1.31 MB / 422.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/0.3686, allocations: 1.847 MB / 424.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004849/0.3735, allocations: 3.076 MB / 427.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.3735, allocations: 4 kB / 427.5 MB, free: 6.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00713/0.3807, allocations: 3.877 MB / 431.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.3808, allocations: 97.41 kB / 431.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.3808, allocations: 16 kB / 431.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.3828, allocations: 0.8527 MB / 432.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.3845, allocations: 382.3 kB / 432.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.3959, allocations: 8.527 MB / 441.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.3985, allocations: 325.7 kB / 441.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.3988, allocations: 92.08 kB / 441.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004086/0.4029, allocations: 2.12 MB / 443.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002498/0.4054, allocations: 1.761 MB / 445.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004129/0.4095, allocations: 2.936 MB / 448.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.151e-05/0.4096, allocations: 4 kB / 448.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006759/0.4163, allocations: 3.738 MB / 452.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/0.4165, allocations: 93.05 kB / 452.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.4165, allocations: 20.3 kB / 452.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.4187, allocations: 0.8488 MB / 453.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.4204, allocations: 356.4 kB / 453.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.4315, allocations: 8.519 MB / 462 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.4341, allocations: 286.3 kB / 462.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.4345, allocations: 87.98 kB / 462.4 MB, free: 3.211 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.0008161/0.4353, allocations: 401.5 kB / 462.8 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/0.4359, allocations: 233.2 kB / 463 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00656/0.4424, allocations: 3.645 MB / 466.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.4425, allocations: 24 kB / 466.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4425, allocations: 0 / 466.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.4425, allocations: 7.969 kB / 466.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.4548, allocations: 6.711 MB / 473.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.4548, allocations: 0 / 473.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.4561, allocations: 273.2 kB / 473.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.4579, allocations: 0.8365 MB / 474.5 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/0.4582, allocations: 51.97 kB / 474.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.4693, allocations: 8.501 MB / 483.1 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4693, allocations: 3.938 kB / 483.1 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00901/0.4783, allocations: 5.483 MB / 488.5 MB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.4799, allocations: 0.6343 MB / 489.2 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/0.4804, allocations: 75.95 kB / 489.2 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.4819, allocations: 191.8 kB / 489.4 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/0.4825, allocations: 297.2 kB / 489.7 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.4827, allocations: 71.97 kB / 489.8 MB, free: 7.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002159/0.4848, allocations: 1.457 MB / 491.3 MB, free: 6.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4849, allocations: 0 / 491.3 MB, free: 6.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004135/0.489, allocations: 1.348 MB / 492.6 MB, free: 4.781 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.0004741/0.4895, allocations: 265 kB / 492.9 MB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01536/0.5049, allocations: 8.086 MB / 0.4892 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/0.5049, allocations: 5.219 kB / 0.4892 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003655/0.5086, allocations: 2.093 MB / 0.4913 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.5115, allocations: 0.6066 MB / 0.4918 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.5224, allocations: 7.086 MB / 0.4988 GB, free: 2.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/0.5243, allocations: 2.323 MB / 0.501 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008216/0.5251, allocations: 175.4 kB / 0.5012 GB, free: 164 kB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5251, allocations: 3.938 kB / 0.5012 GB, free: 160 kB / 414.1 MB Notification: Performance of Templates: time 0.2521/0.7773, allocations: 55.25 MB / 0.5552 GB, free: 144.5 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