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_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 112.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 47.91 kB / 370.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2963, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.009136/0.3054, allocations: 6.598 MB / 429.2 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.3099, allocations: 1.921 MB / 431.2 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.3113, allocations: 55.62 kB / 431.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009032/0.3122, allocations: 309.5 kB / 431.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.3142, allocations: 0.5164 MB / 432 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3156, allocations: 471 kB / 432.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008253/0.3238, allocations: 6.943 MB / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004/0.3278, allocations: 2.543 MB / 442 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.3325, allocations: 3.093 MB / 445.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006929/0.3395, allocations: 3.834 MB / 448.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002346/0.3418, allocations: 0.8047 MB / 449.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.3443, allocations: 0.8008 MB / 450.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002626/0.347, allocations: 2.037 MB / 452.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006954/0.3539, allocations: 3.516 MB / 456.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.3677, allocations: 10.35 MB / 466.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3677, allocations: 0 / 466.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3677, allocations: 0 / 466.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004105/0.3681, allocations: 4 kB / 466.4 MB, free: 2.586 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.03721/0.4053, allocations: 19.42 MB / 485.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.4054, allocations: 12.03 kB / 485.9 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002734/0.4081, allocations: 0.694 MB / 486.6 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.4104, allocations: 0.6959 MB / 487.2 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.4213, allocations: 4.092 MB / 491.3 MB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004867/0.4218, allocations: 386.2 kB / 491.7 MB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002064/0.4239, allocations: 0.5233 MB / 492.2 MB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.4434, allocations: 8.001 MB / 0.4885 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/0.4436, allocations: 15.89 kB / 0.4885 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008997/0.4445, allocations: 212 kB / 0.4887 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.4447, allocations: 189.7 kB / 0.4889 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/0.4622, allocations: 7.286 MB / 0.496 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05192/0.5141, allocations: 21.01 MB / 0.5165 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/0.5277, allocations: 6.863 MB / 0.5232 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007262/0.535, allocations: 3.614 MB / 0.5268 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.5353, allocations: 63.27 kB / 0.5268 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007834/0.5431, allocations: 4.052 MB / 0.5308 GB, free: 4.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 6.653e-06/0.5431, allocations: 0 / 0.5308 GB, free: 4.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.2646/0.8077, allocations: 18.43 MB / 0.5488 GB, free: 102.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.8078, allocations: 463 kB / 0.5492 GB, free: 101.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005466/0.8133, allocations: 3.986 MB / 0.5531 GB, free: 99.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001013/0.8143, allocations: 165.6 kB / 0.5533 GB, free: 99.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/0.816, allocations: 2.135 MB / 0.5554 GB, free: 97.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001685/0.8177, allocations: 1.467 MB / 0.5568 GB, free: 95.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.8191, allocations: 0.8667 MB / 0.5577 GB, free: 94.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.8191, allocations: 301.1 kB / 0.5579 GB, free: 94.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004344/0.8234, allocations: 2.727 MB / 0.5606 GB, free: 91.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005098/0.8285, allocations: 3.79 MB / 0.5643 GB, free: 87.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009/0.8375, allocations: 6.363 MB / 0.5705 GB, free: 80.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-05/0.8376, allocations: 8.688 kB / 0.5705 GB, free: 80.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01478/0.8524, allocations: 8.036 MB / 0.5784 GB, free: 72.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.8525, allocations: 182.2 kB / 0.5785 GB, free: 72.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-05/0.8525, allocations: 28 kB / 0.5786 GB, free: 72.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.8557, allocations: 1.74 MB / 0.5803 GB, free: 70.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/0.8589, allocations: 0.7749 MB / 0.581 GB, free: 70.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02033/0.8792, allocations: 23.31 MB / 0.6038 GB, free: 45.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/0.8836, allocations: 407.6 kB / 0.6042 GB, free: 45.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007882/0.8844, allocations: 180 kB / 0.6044 GB, free: 45.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007223/0.8916, allocations: 4.318 MB / 0.6086 GB, free: 41.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004957/0.8965, allocations: 3.634 MB / 0.6121 GB, free: 37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008563/0.9051, allocations: 6.09 MB / 0.6181 GB, free: 30.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.08e-05/0.9051, allocations: 8 kB / 0.6181 GB, free: 30.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.0137/0.9188, allocations: 7.737 MB / 0.6256 GB, free: 22.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.919, allocations: 182.2 kB / 0.6258 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.071e-05/0.919, allocations: 32.03 kB / 0.6258 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003154/0.9222, allocations: 1.733 MB / 0.6275 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/0.9253, allocations: 0.7174 MB / 0.6282 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/0.9478, allocations: 23.32 MB / 0.651 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/0.9525, allocations: 391.6 kB / 0.6514 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/0.9537, allocations: 180 kB / 0.6515 GB, free: 11.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * Number of states: 0 () * Number of discrete variables: 180 (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,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.firstTrigger,$PRE.signalPWM[6].zeroOrderHold.firstTrigger,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,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[6].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].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[6].zeroOrderHold.sampleTrigger,$whenCondition26,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[1].zeroOrderHold.ySample,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].zeroOrderHold.ySample,signalPWM[6].notFire,signalPWM[5].sawtooth.count,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].zeroOrderHold.ySample,signalPWM[5].notFire,signalPWM[4].sawtooth.count,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].zeroOrderHold.ySample,signalPWM[4].notFire,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[6].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[6].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[6].y,inverter.andCondition_n[5].y,inverter.andCondition_n[4].y,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[6].y,inverter.andCondition_p[5].y,inverter.andCondition_p[4].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition25,$whenCondition27,$whenCondition29,$whenCondition31,$whenCondition33,$whenCondition35) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001991/0.9557, allocations: 0.6002 MB / 0.6521 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/0.9574, allocations: 477 kB / 0.6526 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01803/0.9754, allocations: 7.684 MB / 0.6601 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/0.9755, allocations: 44 kB / 0.6601 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.9755, allocations: 4 kB / 0.6601 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.452e-05/0.9756, allocations: 19.92 kB / 0.6602 GB, free: 2.434 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03184/1.007, allocations: 13.71 MB / 0.6735 GB, free: 4.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.007, allocations: 0.8438 kB / 0.6735 GB, free: 4.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/1.011, allocations: 0.5618 MB / 0.6741 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004943/1.015, allocations: 1.71 MB / 0.6758 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/1.017, allocations: 123.9 kB / 0.6759 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0303/1.047, allocations: 23.15 MB / 0.6985 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.047, allocations: 4.031 kB / 0.6985 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02476/1.072, allocations: 11.36 MB / 0.7096 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004641/1.076, allocations: 1.127 MB / 0.7107 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/1.078, allocations: 167.8 kB / 0.7108 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/1.081, allocations: 387.5 kB / 0.7112 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001849/1.083, allocations: 0.7638 MB / 0.712 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004401/1.084, allocations: 151.9 kB / 0.7121 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004766/1.088, allocations: 2.761 MB / 0.7148 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.088, allocations: 0 / 0.7148 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008976/1.097, allocations: 2.207 MB / 0.717 GB, free: 7.422 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].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,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$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_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].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,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].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,fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].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,fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean2.y_last) * Number of discrete states: 36 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].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,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].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,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.ySample,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 (344): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02257/1.12, allocations: 12.25 MB / 0.7289 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2532/1.373, allocations: 13.13 MB / 0.7417 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/1.373, allocations: 4.938 kB / 0.7417 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00852/1.382, allocations: 5.053 MB / 0.7467 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/1.387, allocations: 1.132 MB / 0.7478 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07767/1.465, allocations: 51.96 MB / 0.7985 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003602/1.468, allocations: 4.113 MB / 0.8025 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004482/1.473, allocations: 1.963 MB / 0.8045 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002984/1.476, allocations: 2.147 MB / 0.8066 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of SimCode: time 2.043e-06/1.476, allocations: 4 kB / 0.8066 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4768/1.952, allocations: 155.4 MB / 0.9583 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.39/26.35, allocations: 5.922 kB / 0.9583 GB, free: 171.2 MB / 0.5294 GB " [Timeout remaining time 633] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.17902994600081] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.inductor[2].i', 'inductor.inductor[3].i', 'inductor.inductor[4].i', 'inductor.inductor[5].i', 'inductor.inductor[6].i', 'fundamentalWaveCurrent[1].mean1.y', 'fundamentalWaveCurrent[1].mean2.y', 'fundamentalWaveCurrent[2].mean1.y', 'fundamentalWaveCurrent[2].mean2.y', 'fundamentalWaveCurrent[3].mean1.y', 'fundamentalWaveCurrent[3].mean2.y', 'fundamentalWaveCurrent[4].mean1.y', 'fundamentalWaveCurrent[4].mean2.y', 'fundamentalWaveCurrent[5].mean1.y', 'fundamentalWaveCurrent[5].mean2.y', 'fundamentalWaveCurrent[6].mean1.y', 'fundamentalWaveCurrent[6].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', 'fundamentalWaveVoltage[4].mean1.y', 'fundamentalWaveVoltage[4].mean2.y', 'fundamentalWaveVoltage[5].mean1.y', 'fundamentalWaveVoltage[5].mean2.y', 'fundamentalWaveVoltage[6].mean1.y', 'fundamentalWaveVoltage[6].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', 'inverter.ac.pin[4].v', 'inverter.ac.pin[4].i', 'inverter.ac.pin[5].v', 'inverter.ac.pin[5].i', 'inverter.ac.pin[6].v', 'inverter.ac.pin[6].i', 'currentSensor.i[1]', 'currentSensor.i[2]', 'currentSensor.i[3]', 'voltageSensor.v[1]', 'voltageSensor.v[2]', 'voltageSensor.v[3]'] 26.545750026998576 26.556396563 26.186168227 Calling exit ...