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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 188.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 240.9 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.000943, allocations: 104.9 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007639/0.0007639, allocations: 31.95 kB / 350.1 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1979, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.005275/0.2032, allocations: 6.284 MB / 405.8 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.2064, allocations: 1.826 MB / 407.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009345/0.2073, allocations: 35.81 kB / 407.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.2079, allocations: 222.4 kB / 407.9 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.209, allocations: 445.6 kB / 408.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.2097, allocations: 395.6 kB / 408.7 MB, free: 24.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.212, allocations: 3.883 MB / 412.6 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.2137, allocations: 2.291 MB / 414.9 MB, free: 17.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.2149, allocations: 1.23 MB / 416.1 MB, free: 16.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.2162, allocations: 1.649 MB / 417.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.2165, allocations: 204 kB / 417.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.2169, allocations: 208 kB / 418.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.2173, allocations: 0.7707 MB / 418.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2185, allocations: 1.508 MB / 420.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.2211, allocations: 4.74 MB / 425.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2211, allocations: 0 / 425.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2211, allocations: 0 / 425.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.549e-05/0.2212, allocations: 0 / 425.2 MB, free: 7.582 MB / 298.7 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.006838/0.228, allocations: 3.858 MB / 429 MB, free: 3.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2281, allocations: 12.03 kB / 429 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.2285, allocations: 341 kB / 429.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/0.2322, allocations: 2.123 MB / 431.5 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.2323, allocations: 209.6 kB / 431.7 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.2326, allocations: 255.9 kB / 431.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005806/0.2385, allocations: 3.882 MB / 435.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.123e-05/0.2385, allocations: 7.938 kB / 435.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.2388, allocations: 99.98 kB / 435.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.584e-05/0.2389, allocations: 96.7 kB / 436 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005695/0.2446, allocations: 3.512 MB / 439.5 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/0.2604, allocations: 10.45 MB / 450 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005256/0.2657, allocations: 3.927 MB / 453.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002488/0.2682, allocations: 1.656 MB / 455.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.2684, allocations: 33.91 kB / 455.6 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002862/0.2712, allocations: 1.981 MB / 457.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of pre-optimization done (n=220): time 3.477e-06/0.2713, allocations: 0 / 457.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=220): time 0.01831/0.2896, allocations: 7.289 MB / 464.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.2898, allocations: 259.4 kB / 465.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.2925, allocations: 2.092 MB / 467.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002101/0.2928, allocations: 97.61 kB / 467.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008545/0.2936, allocations: 1.055 MB / 468.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005169/0.2941, allocations: 0.6587 MB / 469 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006156/0.2948, allocations: 440 kB / 469.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.2948, allocations: 305.1 kB / 469.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.297, allocations: 1.302 MB / 471 MB, free: 8.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.2994, allocations: 1.838 MB / 472.9 MB, free: 6.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004349/0.3038, allocations: 3.071 MB / 476 MB, free: 3.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3038, allocations: 7.938 kB / 476 MB, free: 3.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006421/0.3102, allocations: 3.883 MB / 479.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-05/0.3104, allocations: 97.09 kB / 479.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/0.3104, allocations: 12 kB / 480 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.3122, allocations: 0.8526 MB / 480.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.3137, allocations: 387.2 kB / 481.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.324, allocations: 7.882 MB / 489.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.3262, allocations: 329.7 kB / 489.4 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.3265, allocations: 87.98 kB / 489.5 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003625/0.3301, allocations: 2.112 MB / 491.6 MB, free: 3.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002314/0.3325, allocations: 1.764 MB / 493.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004087/0.3366, allocations: 2.934 MB / 496.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.007e-05/0.3366, allocations: 4 kB / 496.3 MB, free: 14.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006756/0.3434, allocations: 3.735 MB / 0.4883 GB, free: 10.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.3435, allocations: 97.09 kB / 0.4884 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.3435, allocations: 16 kB / 0.4884 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.3453, allocations: 0.8602 MB / 0.4892 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.3467, allocations: 351.4 kB / 0.4896 GB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.3569, allocations: 7.874 MB / 0.4973 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.3589, allocations: 282.3 kB / 0.4975 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.3591, allocations: 91.97 kB / 0.4976 GB, free: 1.098 MB / 378.7 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.0007859/0.3599, allocations: 391.5 kB / 0.498 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/0.3605, allocations: 241.1 kB / 0.4982 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1765/0.537, allocations: 3.636 MB / 0.5018 GB, free: 97.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.5371, allocations: 19.78 kB / 0.5018 GB, free: 97.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5371, allocations: 3.75 kB / 0.5018 GB, free: 97.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.5371, allocations: 12.78 kB / 0.5018 GB, free: 97.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009849/0.547, allocations: 6.703 MB / 0.5084 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.547, allocations: 0.6562 kB / 0.5084 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.5481, allocations: 271.2 kB / 0.5086 GB, free: 95.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.5498, allocations: 0.8306 MB / 0.5094 GB, free: 94.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.55, allocations: 57.55 kB / 0.5095 GB, free: 94.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00826/0.5582, allocations: 7.85 MB / 0.5172 GB, free: 87.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5583, allocations: 5.391 kB / 0.5172 GB, free: 87.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02924/0.5875, allocations: 23.47 MB / 0.5401 GB, free: 64.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.5887, allocations: 0.6305 MB / 0.5407 GB, free: 63.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.589, allocations: 75.95 kB / 0.5408 GB, free: 63.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.5903, allocations: 187.7 kB / 0.5409 GB, free: 63.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005637/0.5908, allocations: 298.5 kB / 0.5412 GB, free: 62.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.591, allocations: 67.95 kB / 0.5413 GB, free: 62.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.5926, allocations: 1.461 MB / 0.5427 GB, free: 61.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5926, allocations: 0 / 0.5427 GB, free: 61.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003699/0.5963, allocations: 1.8 MB / 0.5445 GB, free: 59.46 MB / 378.7 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.000288/0.5966, allocations: 253.5 kB / 0.5447 GB, free: 59.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00775/0.6044, allocations: 6.042 MB / 0.5506 GB, free: 53.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.6044, allocations: 4 kB / 0.5506 GB, free: 53.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/0.6072, allocations: 2.064 MB / 0.5526 GB, free: 51.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.6094, allocations: 0.5686 MB / 0.5532 GB, free: 50.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.6195, allocations: 8.844 MB / 0.5618 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.6212, allocations: 2.458 MB / 0.5642 GB, free: 39.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002722/0.624, allocations: 0.9392 MB / 0.5652 GB, free: 38.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.6245, allocations: 155.4 kB / 0.5653 GB, free: 38 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6245, allocations: 0 / 0.5653 GB, free: 38 MB / 378.7 MB Notification: Performance of Templates: time 0.0727/0.6972, allocations: 56.65 MB / 0.6206 GB, free: 13.79 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_R/PolyphaseTwoLevel_R.csv","../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