Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 166 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8969/0.8969, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 326.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.523e-05, allocations: 6.219 kB / 326.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.005855/0.00588, allocations: 4.626 MB / 330.8 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.008629, allocations: 1.562 MB / 332.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.009106, allocations: 23.81 kB / 332.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.009451, allocations: 138.5 kB / 332.5 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005511/0.01, allocations: 233.9 kB / 332.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008948/0.0109, allocations: 415.1 kB / 333.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.01206, allocations: 1.117 MB / 334.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005482/0.01261, allocations: 279 kB / 334.6 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008366/0.01345, allocations: 0.5924 MB / 335.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.01393, allocations: 327 kB / 335.5 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.01408, allocations: 100 kB / 335.6 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.01428, allocations: 119.9 kB / 335.7 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.01447, allocations: 231.1 kB / 335.9 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.0148, allocations: 315.2 kB / 336.2 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.01608, allocations: 1.184 MB / 337.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01608, allocations: 0 / 337.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.01608, allocations: 4 kB / 337.4 MB, free: 3.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.01611, allocations: 0 / 337.4 MB, free: 3.766 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002483/0.01859, allocations: 1.429 MB / 338.8 MB, free: 2.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.01864, allocations: 12.03 kB / 338.8 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.01878, allocations: 110.7 kB / 339 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005766/0.01935, allocations: 160.2 kB / 339.1 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.02044, allocations: 0.5563 MB / 339.7 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.02049, allocations: 54.38 kB / 339.7 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.0206, allocations: 72.36 kB / 339.8 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.02205, allocations: 0.8044 MB / 340.6 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.02208, allocations: 8.188 kB / 340.6 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.02215, allocations: 36.11 kB / 340.6 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.02217, allocations: 20 kB / 340.7 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.02344, allocations: 0.5594 MB / 341.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003852/0.02729, allocations: 2.366 MB / 343.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.0285, allocations: 0.5381 MB / 344.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.02907, allocations: 266.2 kB / 344.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.02911, allocations: 8.5 kB / 344.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008387/0.02995, allocations: 480.6 kB / 344.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.875e-06/0.02996, allocations: 0 / 344.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.003133/0.03309, allocations: 1.142 MB / 346 MB, free: 10.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.03316, allocations: 115.5 kB / 346.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.03391, allocations: 0.5821 MB / 346.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.03397, allocations: 41.7 kB / 346.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.03424, allocations: 361 kB / 347.1 MB, free: 9.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.03441, allocations: 202.3 kB / 347.3 MB, free: 9.559 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.03464, allocations: 134.7 kB / 347.4 MB, free: 9.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.03479, allocations: 390.7 kB / 347.8 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000551/0.03534, allocations: 262.4 kB / 348.1 MB, free: 8.766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.036, allocations: 495.1 kB / 348.5 MB, free: 8.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.03712, allocations: 0.6459 MB / 349.2 MB, free: 7.477 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.03712, allocations: 0 / 349.2 MB, free: 7.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001609/0.03873, allocations: 0.8645 MB / 350.1 MB, free: 6.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.03878, allocations: 41.69 kB / 350.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.03879, allocations: 7.984 kB / 350.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004821/0.03927, allocations: 155.4 kB / 350.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.03969, allocations: 107.8 kB / 350.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.04268, allocations: 2.424 MB / 352.8 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.04317, allocations: 91.42 kB / 352.9 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.04322, allocations: 35.98 kB / 352.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007394/0.04396, allocations: 399.7 kB / 353.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006313/0.04459, allocations: 484.2 kB / 353.8 MB, free: 2.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.0456, allocations: 0.6264 MB / 354.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/0.04561, allocations: 4 kB / 354.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.001483/0.04709, allocations: 0.8408 MB / 355.2 MB, free: 1.098 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.04713, allocations: 33.7 kB / 355.3 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.04714, allocations: 8 kB / 355.3 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004239/0.04756, allocations: 148.8 kB / 355.4 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.04795, allocations: 112 kB / 355.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.05081, allocations: 2.421 MB / 358 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.05132, allocations: 75.64 kB / 358 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.05137, allocations: 24 kB / 358.1 MB, free: 14.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveCurrent.mean2.y_last,$PRE.fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,$PRE.fundamentalWaveCurrent.mean1.y_last,fundamentalWaveVoltage.mean2.y_last,$PRE.fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.mean1.y_last,$PRE.fundamentalWaveVoltage.mean1.y_last,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,inverter.diode_n.off,inverter.transistor_n.off,inverter.diode_p.off,inverter.transistor_p.off,inverter.andCondition_n.y,inverter.andCondition_p.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.05162, allocations: 240.1 kB / 358.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.05175, allocations: 83.47 kB / 358.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.05338, allocations: 0.759 MB / 359.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.05339, allocations: 8.125 kB / 359.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.05339, allocations: 7.984 kB / 359.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.0534, allocations: 3.938 kB / 359.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.05585, allocations: 1.411 MB / 360.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.05586, allocations: 4 kB / 360.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.05618, allocations: 79.81 kB / 360.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.05659, allocations: 148.9 kB / 360.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.05664, allocations: 15.98 kB / 360.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.05937, allocations: 2.405 MB / 363.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.05938, allocations: 0 / 363.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.06145, allocations: 1.129 MB / 364.3 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.06178, allocations: 131.3 kB / 364.5 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.06189, allocations: 23.98 kB / 364.5 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.06229, allocations: 43.95 kB / 364.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.06245, allocations: 60.55 kB / 364.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.0625, allocations: 23.92 kB / 364.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005098/0.06301, allocations: 407.1 kB / 365 MB, free: 7.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.06301, allocations: 0 / 365 MB, free: 7.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001212/0.06422, allocations: 371.3 kB / 365.4 MB, free: 6.641 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x) * Number of discrete variables: 22 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.notFire,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.y_last,fundamentalWaveVoltage.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,fundamentalWaveCurrent.mean2.y_last) * Number of discrete states: 6 (signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002383/0.0666, allocations: 1.705 MB / 367.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002736/0.06934, allocations: 1.465 MB / 368.5 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.06934, allocations: 0 / 368.5 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008511/0.07019, allocations: 494.5 kB / 369 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.07096, allocations: 147.9 kB / 369.2 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.08097, allocations: 6.356 MB / 375.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.08139, allocations: 362.2 kB / 375.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000434/0.08182, allocations: 101.4 kB / 376 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.0822, allocations: 284.4 kB / 376.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0822, allocations: 0 / 376.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09274/0.1749, allocations: 19.86 MB / 396.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.393, allocations: 10.75 kB / 396.1 MB, free: 7.855 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.fmu) > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inverter.ac.v,inverter.ac.i,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y Variables in the result:R,constantVoltage_n.V,constantVoltage_n.i,constantVoltage_n.n.i,constantVoltage_n.n.v,constantVoltage_n.p.i,constantVoltage_n.p.v,constantVoltage_n.v,constantVoltage_p.V,constantVoltage_p.i,constantVoltage_p.n.i,constantVoltage_p.n.v,constantVoltage_p.p.i,constantVoltage_p.p.v,constantVoltage_p.v,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,der(fundamentalWaveCurrent.mean1.x),der(fundamentalWaveCurrent.mean2.x),der(fundamentalWaveVoltage.mean1.x),der(fundamentalWaveVoltage.mean2.x),f,f1,fundamentalWaveCurrent.f,fundamentalWaveCurrent.gain.k,fundamentalWaveCurrent.gain.u,fundamentalWaveCurrent.gain.y,fundamentalWaveCurrent.k,fundamentalWaveCurrent.mean1.f,fundamentalWaveCurrent.mean1.u,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean1.x0,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y0,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y0,fundamentalWaveCurrent.mean2.yGreaterOrEqualZero,fundamentalWaveCurrent.product1.nu,fundamentalWaveCurrent.product1.significantDigits,fundamentalWaveCurrent.product1.u[1],fundamentalWaveCurrent.product1.u[2],fundamentalWaveCurrent.product1.y,fundamentalWaveCurrent.product2.nu,fundamentalWaveCurrent.product2.significantDigits,fundamentalWaveCurrent.product2.u[1],fundamentalWaveCurrent.product2.u[2],fundamentalWaveCurrent.product2.y,fundamentalWaveCurrent.rectangularToPolar.u_im,fundamentalWaveCurrent.rectangularToPolar.u_re,fundamentalWaveCurrent.rectangularToPolar.y_abs,fundamentalWaveCurrent.rectangularToPolar.y_arg,fundamentalWaveCurrent.sin1.amplitude,fundamentalWaveCurrent.sin1.continuous,fundamentalWaveCurrent.sin1.f,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.continuous,fundamentalWaveCurrent.sin2.f,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.sin2.y,fundamentalWaveCurrent.u,fundamentalWaveCurrent.useConjugateComplex,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,fundamentalWaveCurrent.y0Cos,fundamentalWaveCurrent.y0Sin,fundamentalWaveCurrent.y_arg,fundamentalWaveCurrent.y_rms,fundamentalWaveVoltage.f,fundamentalWaveVoltage.gain.k,fundamentalWaveVoltage.gain.u,fundamentalWaveVoltage.gain.y,fundamentalWaveVoltage.k,fundamentalWaveVoltage.mean1.f,fundamentalWaveVoltage.mean1.u,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean1.x0,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y0,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y0,fundamentalWaveVoltage.mean2.yGreaterOrEqualZero,fundamentalWaveVoltage.product1.nu,fundamentalWaveVoltage.product1.significantDigits,fundamentalWaveVoltage.product1.u[1],fundamentalWaveVoltage.product1.u[2],fundamentalWaveVoltage.product1.y,fundamentalWaveVoltage.product2.nu,fundamentalWaveVoltage.product2.significantDigits,fundamentalWaveVoltage.product2.u[1],fundamentalWaveVoltage.product2.u[2],fundamentalWaveVoltage.product2.y,fundamentalWaveVoltage.rectangularToPolar.u_im,fundamentalWaveVoltage.rectangularToPolar.u_re,fundamentalWaveVoltage.rectangularToPolar.y_abs,fundamentalWaveVoltage.rectangularToPolar.y_arg,fundamentalWaveVoltage.sin1.amplitude,fundamentalWaveVoltage.sin1.continuous,fundamentalWaveVoltage.sin1.f,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.continuous,fundamentalWaveVoltage.sin2.f,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.sin2.y,fundamentalWaveVoltage.u,fundamentalWaveVoltage.useConjugateComplex,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y0Cos,fundamentalWaveVoltage.y0Sin,fundamentalWaveVoltage.y_arg,fundamentalWaveVoltage.y_rms,ground.p.i,ground.p.v,inverter.GoffDiode,inverter.GoffTransistor,inverter.LossPower,inverter.RonDiode,inverter.RonTransistor,inverter.T,inverter.T_heatPort,inverter.VkneeDiode,inverter.VkneeTransistor,inverter.ac.i,inverter.ac.v,inverter.andCondition_n.u1,inverter.andCondition_n.u2,inverter.andCondition_n.y,inverter.andCondition_p.u1,inverter.andCondition_p.u2,inverter.andCondition_p.y,inverter.constantEnable,inverter.dc_n.i,inverter.dc_n.v,inverter.dc_p.i,inverter.dc_p.v,inverter.diode_n.Goff,inverter.diode_n.LossPower,inverter.diode_n.Ron,inverter.diode_n.T,inverter.diode_n.T_heatPort,inverter.diode_n.Vknee,inverter.diode_n.i,inverter.diode_n.n.i,inverter.diode_n.n.v,inverter.diode_n.off,inverter.diode_n.p.i,inverter.diode_n.p.v,inverter.diode_n.useHeatPort,inverter.diode_n.v,inverter.diode_p.Goff,inverter.diode_p.LossPower,inverter.diode_p.Ron,inverter.diode_p.T,inverter.diode_p.T_heatPort,inverter.diode_p.Vknee,inverter.diode_p.i,inverter.diode_p.n.i,inverter.diode_p.n.v,inverter.diode_p.off,inverter.diode_p.p.i,inverter.diode_p.p.v,inverter.diode_p.useHeatPort,inverter.diode_p.v,inverter.enableLogic.booleanReplicator.nout,inverter.enableLogic.booleanReplicator.u,inverter.enableLogic.booleanReplicator.y[1],inverter.enableLogic.constantEnable,inverter.enableLogic.enableConstantSource.k,inverter.enableLogic.enableConstantSource.y,inverter.enableLogic.internalEnable[1],inverter.enableLogic.m,inverter.enableLogic.useConstantEnable,inverter.fire_n,inverter.fire_p,inverter.iAC,inverter.iDC,inverter.m,inverter.powerAC,inverter.powerDC,inverter.transistor_n.Goff,inverter.transistor_n.LossPower,inverter.transistor_n.Ron,inverter.transistor_n.T,inverter.transistor_n.T_heatPort,inverter.transistor_n.Vknee,inverter.transistor_n.fire,inverter.transistor_n.i,inverter.transistor_n.n.i,inverter.transistor_n.n.v,inverter.transistor_n.off,inverter.transistor_n.p.i,inverter.transistor_n.p.v,inverter.transistor_n.useHeatPort,inverter.transistor_n.v,inverter.transistor_p.Goff,inverter.transistor_p.LossPower,inverter.transistor_p.Ron,inverter.transistor_p.T,inverter.transistor_p.T_heatPort,inverter.transistor_p.Vknee,inverter.transistor_p.fire,inverter.transistor_p.i,inverter.transistor_p.n.i,inverter.transistor_p.n.v,inverter.transistor_p.off,inverter.transistor_p.p.i,inverter.transistor_p.p.v,inverter.transistor_p.useHeatPort,inverter.transistor_p.v,inverter.useConstantEnable,inverter.useHeatPort,inverter.vAC,inverter.vDC,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,signalPWM.commonComparison,signalPWM.constantDutyCycle,signalPWM.dutyCycle,signalPWM.f,signalPWM.fire,signalPWM.greaterEqual_p.u1,signalPWM.greaterEqual_p.u2,signalPWM.greaterEqual_p.y,signalPWM.inverse.u,signalPWM.inverse.y,signalPWM.limiter.homotopyType,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.limiter.y,signalPWM.notFire,signalPWM.refType,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.sawtooth.y,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.startTime,signalPWM.zeroOrderHold.u,signalPWM.zeroOrderHold.y,signalPWM.zeroOrderHold.ySample,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v filterSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.mat", vars={"fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "inverter.ac.i", "inverter.ac.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.ref.mat", vars={"fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "inverter.ac.i", "inverter.ac.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy_res.csv --output-variables inverter.ac.v inverter.ac.i fundamentalWaveVoltage.mean1.y fundamentalWaveVoltage.mean2.y fundamentalWaveCurrent.mean1.y fundamentalWaveCurrent.mean2.y --start-time 0 --stop-time 0.1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ../Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 10.918977634981275]