Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000961/0.000961, allocations: 87.62 kB / 21.43 MB, free: 3.121 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.004608/0.004608, allocations: 165.6 kB / 24.7 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7382/0.7382, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.142e-06/1.142e-06, allocations: 0 / 300 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.915e-06/9.057e-06, allocations: 2.281 kB / 300 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.09859/0.0986, allocations: 4.305 MB / 304.4 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1003, allocations: 1.381 MB / 305.7 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.1006, allocations: 22.75 kB / 305.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1008, allocations: 126.4 kB / 305.9 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.1011, allocations: 220.5 kB / 306.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.1017, allocations: 362 kB / 306.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007087/0.1024, allocations: 1.059 MB / 307.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.1027, allocations: 262.3 kB / 307.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004922/0.1032, allocations: 0.5772 MB / 308.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1035, allocations: 316.2 kB / 308.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.1037, allocations: 98.94 kB / 308.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1038, allocations: 97.16 kB / 308.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1039, allocations: 221.3 kB / 309.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1041, allocations: 312 kB / 309.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007498/0.1049, allocations: 1.129 MB / 310.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1049, allocations: 1.125 kB / 310.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1049, allocations: 0 / 310.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.1049, allocations: 1.219 kB / 310.5 MB, free: 10.7 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001535/0.1064, allocations: 1.372 MB / 311.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1065, allocations: 18.62 kB / 311.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.1066, allocations: 110.1 kB / 312 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1067, allocations: 101.6 kB / 312.1 MB, free: 9.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.1073, allocations: 0.5255 MB / 312.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.1073, allocations: 51.44 kB / 312.7 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.1074, allocations: 76.05 kB / 312.7 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.1083, allocations: 0.79 MB / 313.5 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1083, allocations: 6.312 kB / 313.5 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.1083, allocations: 31.31 kB / 313.6 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1083, allocations: 16.47 kB / 313.6 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007428/0.1091, allocations: 0.548 MB / 314.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.1113, allocations: 2.326 MB / 316.5 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007456/0.112, allocations: 0.5369 MB / 317 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.1124, allocations: 266.4 kB / 317.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.1124, allocations: 8.984 kB / 317.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.1129, allocations: 476.6 kB / 317.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 1.813e-06/0.1129, allocations: 0 / 317.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.001845/0.1148, allocations: 1.125 MB / 318.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.1148, allocations: 120.7 kB / 319 MB, free: 6.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.1152, allocations: 0.5342 MB / 319.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.1152, allocations: 44.88 kB / 319.5 MB, free: 5.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.1154, allocations: 336.8 kB / 319.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.1155, allocations: 210.4 kB / 320.1 MB, free: 5.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1156, allocations: 138.2 kB / 320.2 MB, free: 5.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.1156, allocations: 378.6 kB / 320.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.116, allocations: 260.9 kB / 320.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.1163, allocations: 498.9 kB / 321.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.1169, allocations: 0.6371 MB / 322 MB, free: 3.906 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1169, allocations: 1.031 kB / 322 MB, free: 3.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000903/0.1178, allocations: 0.8474 MB / 322.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.1179, allocations: 40.97 kB / 322.9 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1179, allocations: 9.344 kB / 322.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.1182, allocations: 156.1 kB / 323 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.1184, allocations: 110 kB / 323.1 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.12, allocations: 2.422 MB / 325.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.1202, allocations: 91.39 kB / 325.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.1203, allocations: 29.09 kB / 325.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004046/0.1207, allocations: 403.6 kB / 326.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003409/0.121, allocations: 483.6 kB / 326.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005694/0.1216, allocations: 0.6186 MB / 327.1 MB, free: 68 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.1216, allocations: 5.156 kB / 327.2 MB, free: 64 kB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0009469/0.1225, allocations: 0.8285 MB / 328 MB, free: 15.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1226, allocations: 34.8 kB / 328 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1226, allocations: 4.75 kB / 328 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.1228, allocations: 167 kB / 328.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.123, allocations: 106.4 kB / 328.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.1248, allocations: 2.422 MB / 330.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.125, allocations: 72.98 kB / 330.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.125, allocations: 28.03 kB / 330.8 MB, free: 13.38 MB / 298.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,$PRE.fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean1.y,$PRE.fundamentalWaveCurrent.mean1.y,fundamentalWaveVoltage.mean2.y,$PRE.fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean1.y,$PRE.fundamentalWaveVoltage.mean1.y,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.0002601/0.1253, allocations: 242.4 kB / 331 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.1254, allocations: 77.59 kB / 331.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.1263, allocations: 0.7502 MB / 331.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1263, allocations: 6.875 kB / 331.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1263, allocations: 0 / 331.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1264, allocations: 5.359 kB / 331.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.1278, allocations: 1.399 MB / 333.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1278, allocations: 0 / 333.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.128, allocations: 71.88 kB / 333.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.1283, allocations: 148.8 kB / 333.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.1283, allocations: 15.98 kB / 333.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.13, allocations: 2.404 MB / 335.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.13, allocations: 0 / 335.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.1312, allocations: 1.113 MB / 337 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.1314, allocations: 135.3 kB / 337.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.1314, allocations: 20 kB / 337.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1316, allocations: 43.95 kB / 337.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.1317, allocations: 60.55 kB / 337.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.1318, allocations: 19.98 kB / 337.3 MB, free: 7.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.1321, allocations: 374.8 kB / 337.7 MB, free: 7.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1321, allocations: 3.938 kB / 337.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006669/0.1327, allocations: 359.3 kB / 338 MB, free: 6.707 MB / 298.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,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y) * 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.001547/0.1343, allocations: 1.699 MB / 339.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.1358, allocations: 1.453 MB / 341.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1358, allocations: 0 / 341.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004784/0.1362, allocations: 0.4908 MB / 341.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1367, allocations: 123.7 kB / 341.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006027/0.1427, allocations: 6.169 MB / 348 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.1429, allocations: 349.1 kB / 348.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.1432, allocations: 103.6 kB / 348.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.1434, allocations: 264.4 kB / 348.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1434, allocations: 0 / 348.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08624/0.2296, allocations: 19.24 MB / 367.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.347, allocations: 12 kB / 367.9 MB, free: 8.355 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_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/v3.2.3+build.4/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.freqHz,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.freqHz,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.freqHz,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.freqHz,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.limitsAtInit,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.freqHz,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_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_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_3.2.3_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.592813228257]