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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me",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",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 103.7 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.2 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 43.58 kB / 300.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09124, allocations: 49.44 MB / 349.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.006617/0.09789, allocations: 4.798 MB / 354.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1008, allocations: 1.34 MB / 355.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000581/0.1014, allocations: 19.88 kB / 355.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.1018, allocations: 91.19 kB / 356 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007454/0.1026, allocations: 170.6 kB / 356.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.1034, allocations: 315.7 kB / 356.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.1047, allocations: 1.036 MB / 357.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.1054, allocations: 418.2 kB / 357.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.1059, allocations: 386.6 kB / 358.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000597/0.1065, allocations: 430 kB / 358.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002295/0.1068, allocations: 104 kB / 358.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.107, allocations: 100 kB / 358.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.1073, allocations: 223.2 kB / 359.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.1078, allocations: 453.7 kB / 359.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1089, allocations: 1.082 MB / 360.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1089, allocations: 0 / 360.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1089, allocations: 0 / 360.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.82e-05/0.109, allocations: 0 / 360.6 MB, free: 9.449 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002736/0.1117, allocations: 1.197 MB / 361.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1118, allocations: 15.89 kB / 361.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.112, allocations: 114.6 kB / 361.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.1121, allocations: 99.81 kB / 362 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1132, allocations: 0.5716 MB / 362.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.1133, allocations: 66.48 kB / 362.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.1134, allocations: 72.38 kB / 362.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.115, allocations: 0.7537 MB / 363.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.115, allocations: 3.938 kB / 363.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.1151, allocations: 28 kB / 363.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.1151, allocations: 16 kB / 363.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1164, allocations: 0.5555 MB / 364.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.1204, allocations: 2.625 MB / 366.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.1216, allocations: 0.5774 MB / 367.3 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/0.1222, allocations: 290.4 kB / 367.6 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.1223, allocations: 16.53 kB / 367.6 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008612/0.1232, allocations: 441.7 kB / 368 MB, free: 1.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.615e-06/0.1232, allocations: 0 / 368 MB, free: 1.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.003226/0.1264, allocations: 1.206 MB / 369.2 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.1265, allocations: 115.4 kB / 369.4 MB, free: 400 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1663/0.2928, allocations: 0.5285 MB / 369.9 MB, free: 25.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.293, allocations: 44.72 kB / 369.9 MB, free: 25.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.2933, allocations: 338.5 kB / 370.3 MB, free: 25.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.2935, allocations: 202.8 kB / 370.5 MB, free: 25.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.2938, allocations: 136.3 kB / 370.6 MB, free: 25.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.294, allocations: 379.1 kB / 371 MB, free: 24.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006017/0.2946, allocations: 233.7 kB / 371.2 MB, free: 24.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.2952, allocations: 414.6 kB / 371.6 MB, free: 24.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.2963, allocations: 0.6389 MB / 372.2 MB, free: 24.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.2963, allocations: 2.594 kB / 372.2 MB, free: 24.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00157/0.2979, allocations: 0.8289 MB / 373.1 MB, free: 24.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.2979, allocations: 34.17 kB / 373.1 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.2979, allocations: 5.781 kB / 373.1 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.2984, allocations: 156.8 kB / 373.3 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.2989, allocations: 125.2 kB / 373.4 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.3015, allocations: 2.552 MB / 375.9 MB, free: 21.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.302, allocations: 81.56 kB / 376 MB, free: 21.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.3021, allocations: 27.59 kB / 376 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006171/0.3027, allocations: 377.4 kB / 376.4 MB, free: 21.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004976/0.3032, allocations: 402.9 kB / 376.8 MB, free: 21.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008875/0.3041, allocations: 0.6202 MB / 377.4 MB, free: 20.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.613e-06/0.3041, allocations: 1.281 kB / 377.4 MB, free: 20.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.001376/0.3055, allocations: 0.8043 MB / 378.2 MB, free: 20.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.3056, allocations: 39 kB / 378.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.3056, allocations: 6.062 kB / 378.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.306, allocations: 155.1 kB / 378.4 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.3064, allocations: 115.8 kB / 378.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.3089, allocations: 2.55 MB / 381.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.3095, allocations: 68.84 kB / 381.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.3096, allocations: 35.98 kB / 381.2 MB, free: 18.41 MB / 302.1 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.0002505/0.3098, allocations: 239.8 kB / 381.4 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.31, allocations: 73.91 kB / 381.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.3115, allocations: 0.7468 MB / 382.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3115, allocations: 5.156 kB / 382.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3115, allocations: 1.766 kB / 382.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3116, allocations: 3.516 kB / 382.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.314, allocations: 1.531 MB / 383.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.314, allocations: 0 / 383.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.3144, allocations: 78.19 kB / 383.9 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003943/0.3148, allocations: 149.8 kB / 384 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.3149, allocations: 15.16 kB / 384 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.3174, allocations: 2.543 MB / 386.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3174, allocations: 0.6094 kB / 386.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.3194, allocations: 1.118 MB / 387.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.3197, allocations: 202.9 kB / 387.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.3198, allocations: 17.88 kB / 387.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/0.3204, allocations: 44.39 kB / 387.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.3206, allocations: 66.16 kB / 388 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.3206, allocations: 22.31 kB / 388 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004748/0.3211, allocations: 369 kB / 388.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3211, allocations: 0 / 388.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001201/0.3223, allocations: 358.6 kB / 388.7 MB, free: 13.96 MB / 302.1 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.002064/0.3244, allocations: 1.699 MB / 390.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002757/0.3272, allocations: 1.488 MB / 391.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3272, allocations: 3.969 kB / 391.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.3279, allocations: 0.5105 MB / 392.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.3286, allocations: 123.3 kB / 392.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008244/0.3368, allocations: 6.56 MB / 399.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3372, allocations: 0.9472 MB / 400.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003921/0.3376, allocations: 100.4 kB / 400.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.3379, allocations: 267.3 kB / 400.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3379, allocations: 0 / 400.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.3753, allocations: 17.76 MB / 418.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.3756, allocations: 281.5 kB / 418.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.59, allocations: 0 / 418.5 MB, free: 4.84 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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