Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.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.001569/0.001569, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001573/0.001573, allocations: 161 kB / 23.94 MB, free: 0.625 MB / 18.57 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 0.8832/0.8832, allocations: 173.3 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_4_0_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_0_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.463e-06/1.463e-06, allocations: 0 / 320 MB, free: 5.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.941e-05, allocations: 5.656 kB / 320.1 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.006064/0.006083, allocations: 4.345 MB / 324.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.008545, allocations: 1.348 MB / 325.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004726/0.009018, allocations: 23.81 kB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.009349, allocations: 134.6 kB / 325.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.009926, allocations: 225.9 kB / 326.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/0.01072, allocations: 359.3 kB / 326.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.01182, allocations: 1.067 MB / 327.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005289/0.01235, allocations: 266.9 kB / 327.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007824/0.01313, allocations: 0.5808 MB / 328.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.01363, allocations: 315 kB / 328.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.0138, allocations: 111.9 kB / 328.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.01394, allocations: 96 kB / 328.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.01414, allocations: 227.2 kB / 329.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.0145, allocations: 299.2 kB / 329.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.01591, allocations: 1.145 MB / 330.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.01591, allocations: 0 / 330.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01592, allocations: 0 / 330.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.01594, allocations: 4 kB / 330.6 MB, free: 10.86 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.001645/0.01758, allocations: 1.397 MB / 331.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.01762, allocations: 8.031 kB / 332 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.223e-05/0.01771, allocations: 110.7 kB / 332.1 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.01782, allocations: 100.3 kB / 332.2 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.01911, allocations: 0.5252 MB / 332.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/0.0192, allocations: 58.38 kB / 332.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.01942, allocations: 68.38 kB / 332.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.02098, allocations: 0.8044 MB / 333.6 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.02101, allocations: 4.188 kB / 333.6 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.02109, allocations: 36.11 kB / 333.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.0211, allocations: 16 kB / 333.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.02237, allocations: 0.5555 MB / 334.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.02621, allocations: 2.339 MB / 336.6 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.02741, allocations: 0.5342 MB / 337.1 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.02797, allocations: 262.2 kB / 337.4 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.02801, allocations: 8.5 kB / 337.4 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008164/0.02883, allocations: 464.8 kB / 337.8 MB, free: 3.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.695e-06/0.02883, allocations: 0 / 337.8 MB, free: 3.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.002845/0.03168, allocations: 1.138 MB / 339 MB, free: 2.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.03174, allocations: 115.5 kB / 339.1 MB, free: 2.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.03217, allocations: 0.538 MB / 339.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.03221, allocations: 41.7 kB / 339.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.03239, allocations: 349 kB / 340 MB, free: 1.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.0325, allocations: 210.2 kB / 340.2 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.03264, allocations: 130.7 kB / 340.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.03276, allocations: 394.6 kB / 340.7 MB, free: 380 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.03318, allocations: 258.4 kB / 341 MB, free: 112 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.03361, allocations: 491.9 kB / 341.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.0343, allocations: 0.6506 MB / 342.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.03431, allocations: 4 kB / 342.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009876/0.0353, allocations: 0.8566 MB / 343 MB, free: 13.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.03533, allocations: 37.69 kB / 343 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.03534, allocations: 4 kB / 343 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/0.03567, allocations: 151.6 kB / 343.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.03592, allocations: 111.8 kB / 343.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.03779, allocations: 2.431 MB / 345.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.03804, allocations: 83.53 kB / 345.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.03808, allocations: 24.12 kB / 345.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004312/0.03851, allocations: 403.7 kB / 346.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003873/0.0389, allocations: 484 kB / 346.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006218/0.03952, allocations: 0.6155 MB / 347.3 MB, free: 9.328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/0.03952, allocations: 4 kB / 347.3 MB, free: 9.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0008897/0.04041, allocations: 0.845 MB / 348.1 MB, free: 8.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.04043, allocations: 33.7 kB / 348.1 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.04044, allocations: 4 kB / 348.2 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.04069, allocations: 156.9 kB / 348.3 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.04091, allocations: 107.8 kB / 348.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.04262, allocations: 2.413 MB / 350.8 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.04286, allocations: 83.67 kB / 350.9 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.04289, allocations: 24 kB / 350.9 MB, free: 5.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.zeroOrderHold.ySample,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,$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.0001385/0.04303, allocations: 240.2 kB / 351.2 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.04309, allocations: 79.45 kB / 351.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.04403, allocations: 0.7469 MB / 352 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.04404, allocations: 8.094 kB / 352 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.04404, allocations: 3.984 kB / 352 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.04404, allocations: 11.92 kB / 352 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.04547, allocations: 1.392 MB / 353.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.04547, allocations: 0 / 353.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.04566, allocations: 71.89 kB / 353.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.04589, allocations: 148.8 kB / 353.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.04592, allocations: 15.98 kB / 353.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.0476, allocations: 2.409 MB / 356 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.0476, allocations: 0 / 356 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.04881, allocations: 1.117 MB / 357.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.04897, allocations: 127.4 kB / 357.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.04902, allocations: 20 kB / 357.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.04923, allocations: 39.95 kB / 357.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.04933, allocations: 72.47 kB / 357.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.04937, allocations: 27.94 kB / 357.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002777/0.04964, allocations: 374.8 kB / 357.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04964, allocations: 0 / 357.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006459/0.05029, allocations: 363.3 kB / 358.2 MB, free: 14.09 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.001426/0.05171, allocations: 1.683 MB / 359.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.05318, allocations: 1.464 MB / 361.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.05318, allocations: 1.062 kB / 361.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.05365, allocations: 498.1 kB / 361.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.05407, allocations: 130.8 kB / 361.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005815/0.05988, allocations: 6.149 MB / 368.1 MB, free: 3.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.06012, allocations: 349.4 kB / 368.4 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.06035, allocations: 101.2 kB / 368.5 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.06059, allocations: 268.4 kB / 368.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.06059, allocations: 4 kB / 368.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08671/0.1473, allocations: 19.23 MB / 388 MB, free: 196 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.584, allocations: 11.61 kB / 388 MB, free: 188 kB / 346.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.fmu) > Modelica_4.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.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.0.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,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,inverter.ac.v,inverter.ac.i 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.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,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.f,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.f,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.sin2.y,fundamentalWaveCurrent.u,fundamentalWaveCurrent.useConjugateComplex,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,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.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,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.f,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.f,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.sin2.y,fundamentalWaveVoltage.u,fundamentalWaveVoltage.useConjugateComplex,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,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.constantDutyCycle,signalPWM.dutyCycle,signalPWM.f,signalPWM.fire,signalPWM.greaterEqual.u1,signalPWM.greaterEqual.u2,signalPWM.greaterEqual.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.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.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.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.mat", vars={"inverter.ac.i", "inverter.ac.v", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.ref.mat", vars={"inverter.ac.i", "inverter.ac.v", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy_res.csv --output-variables fundamentalWaveCurrent.mean1.y fundamentalWaveCurrent.mean2.y fundamentalWaveVoltage.mean1.y fundamentalWaveVoltage.mean2.y inverter.ac.v inverter.ac.i --start-time 0 --stop-time 0.1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ../Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_4.0.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: 11.070639722049236]