Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009968/0.0009968, allocations: 114.7 kB / 20.44 MB, free: 4.598 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009831/0.0009831, allocations: 221.3 kB / 23.74 MB, free: 2.141 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9365/0.9365, allocations: 231.1 MB / 258 MB, free: 8.957 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_trunk_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_trunk_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 0.001396/0.001396, allocations: 72.02 kB / 380.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1975, allocations: 53.57 MB / 433.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.003772/0.2013, allocations: 4.622 MB / 438.4 MB, free: 15 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2029, allocations: 1.547 MB / 440 MB, free: 13.74 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.2032, allocations: 25.84 kB / 440 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.2034, allocations: 135.3 kB / 440.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.2038, allocations: 223.1 kB / 440.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.2043, allocations: 423 kB / 440.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007099/0.205, allocations: 1.091 MB / 441.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.2054, allocations: 272.2 kB / 442.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.2057, allocations: 423.4 kB / 442.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.2061, allocations: 393.1 kB / 442.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.2062, allocations: 101.9 kB / 443 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.2063, allocations: 117 kB / 443.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2065, allocations: 228.3 kB / 443.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.2067, allocations: 378.3 kB / 443.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007542/0.2075, allocations: 1.161 MB / 444.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2075, allocations: 0 / 444.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2075, allocations: 0 / 444.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.2075, allocations: 0 / 444.9 MB, free: 10.29 MB / 346.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.001612/0.2091, allocations: 1.447 MB / 446.3 MB, free: 9.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2092, allocations: 9.156 kB / 446.3 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.2093, allocations: 114.3 kB / 446.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.2096, allocations: 159.7 kB / 446.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/0.2103, allocations: 0.5493 MB / 447.2 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.2103, allocations: 54.38 kB / 447.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.2104, allocations: 80.34 kB / 447.3 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.2113, allocations: 0.8079 MB / 448.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2113, allocations: 0 / 448.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.2114, allocations: 35.98 kB / 448.1 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2114, allocations: 16 kB / 448.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.2122, allocations: 0.5594 MB / 448.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.2147, allocations: 2.38 MB / 451.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.2154, allocations: 0.5381 MB / 451.6 MB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.2158, allocations: 262.2 kB / 451.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.2158, allocations: 8.5 kB / 451.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.2163, allocations: 472.8 kB / 452.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 1.643e-06/0.2163, allocations: 0 / 452.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.001846/0.2182, allocations: 1.146 MB / 453.5 MB, free: 1.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.2182, allocations: 127.4 kB / 453.6 MB, free: 1.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.2187, allocations: 0.5782 MB / 454.2 MB, free: 1.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.2187, allocations: 41.7 kB / 454.2 MB, free: 1.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.2189, allocations: 349 kB / 454.6 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.219, allocations: 222.2 kB / 454.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.2191, allocations: 134.7 kB / 454.9 MB, free: 440 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2193, allocations: 374.8 kB / 455.3 MB, free: 56 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.2196, allocations: 274.4 kB / 455.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.22, allocations: 489.8 kB / 456 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.2207, allocations: 0.6417 MB / 456.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2207, allocations: 4 kB / 456.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009647/0.2217, allocations: 0.8684 MB / 457.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.2217, allocations: 33.7 kB / 457.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2217, allocations: 4 kB / 457.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.222, allocations: 156.7 kB / 457.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.2223, allocations: 111.8 kB / 457.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.2241, allocations: 2.421 MB / 460.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.2244, allocations: 91.52 kB / 460.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.2244, allocations: 32 kB / 460.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004435/0.2249, allocations: 404.6 kB / 460.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003866/0.2252, allocations: 487.2 kB / 461.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000691/0.2259, allocations: 0.6184 MB / 461.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.632e-06/0.2259, allocations: 15.92 kB / 461.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0009567/0.2269, allocations: 0.8372 MB / 462.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2269, allocations: 33.7 kB / 462.8 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2269, allocations: 8 kB / 462.8 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.2272, allocations: 152.8 kB / 462.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2274, allocations: 111.8 kB / 463 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.2291, allocations: 2.413 MB / 465.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.2294, allocations: 75.69 kB / 465.5 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.2294, allocations: 31.92 kB / 465.6 MB, free: 5.172 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveCurrent.mean2.y_last,$PRE.fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,$PRE.fundamentalWaveCurrent.mean1.y_last,fundamentalWaveVoltage.mean2.y_last,$PRE.fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.mean1.y_last,$PRE.fundamentalWaveVoltage.mean1.y_last,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,inverter.diode_n.off,inverter.transistor_n.off,inverter.diode_p.off,inverter.transistor_p.off,inverter.andCondition_n.y,inverter.andCondition_p.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.2296, allocations: 244.2 kB / 465.8 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.2296, allocations: 83.47 kB / 465.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.2306, allocations: 0.7591 MB / 466.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2306, allocations: 12 kB / 466.6 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2306, allocations: 3.938 kB / 466.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2306, allocations: 3.984 kB / 466.6 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.2321, allocations: 1.403 MB / 468.1 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2321, allocations: 4 kB / 468.1 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.2323, allocations: 75.83 kB / 468.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.2326, allocations: 159.5 kB / 468.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.2326, allocations: 12 kB / 468.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.2343, allocations: 2.407 MB / 470.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2343, allocations: 0 / 470.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.2356, allocations: 1.125 MB / 471.8 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.2358, allocations: 131.5 kB / 472 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.2358, allocations: 23.94 kB / 472 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.236, allocations: 51.88 kB / 472 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.2361, allocations: 64.53 kB / 472.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.2362, allocations: 19.98 kB / 472.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003437/0.2365, allocations: 407.1 kB / 472.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2365, allocations: 0 / 472.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006631/0.2372, allocations: 363.3 kB / 472.9 MB, free: 13.66 MB / 378.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.001548/0.2387, allocations: 1.701 MB / 474.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.2404, allocations: 1.48 MB / 476 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2404, allocations: 3.938 kB / 476.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.2409, allocations: 0.4901 MB / 476.5 MB, free: 9.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2413, allocations: 139.6 kB / 476.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.2478, allocations: 6.344 MB / 483 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.248, allocations: 366.2 kB / 483.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.2483, allocations: 109.3 kB / 483.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.2485, allocations: 279.3 kB / 483.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2485, allocations: 0 / 483.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08739/0.3359, allocations: 19.71 MB / 0.4917 GB, free: 14.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.449, allocations: 11.94 kB / 0.4917 GB, free: 14.9 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.fmu) > Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_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_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inverter.ac.v,inverter.ac.i,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y Variables in the result:R,constantVoltage_n.V,constantVoltage_n.i,constantVoltage_n.n.i,constantVoltage_n.n.v,constantVoltage_n.p.i,constantVoltage_n.p.v,constantVoltage_n.v,constantVoltage_p.V,constantVoltage_p.i,constantVoltage_p.n.i,constantVoltage_p.n.v,constantVoltage_p.p.i,constantVoltage_p.p.v,constantVoltage_p.v,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,der(fundamentalWaveCurrent.mean1.x),der(fundamentalWaveCurrent.mean2.x),der(fundamentalWaveVoltage.mean1.x),der(fundamentalWaveVoltage.mean2.x),f,f1,fundamentalWaveCurrent.f,fundamentalWaveCurrent.gain.k,fundamentalWaveCurrent.gain.u,fundamentalWaveCurrent.gain.y,fundamentalWaveCurrent.k,fundamentalWaveCurrent.mean1.f,fundamentalWaveCurrent.mean1.u,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean1.x0,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y0,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y0,fundamentalWaveCurrent.mean2.yGreaterOrEqualZero,fundamentalWaveCurrent.product1.nu,fundamentalWaveCurrent.product1.significantDigits,fundamentalWaveCurrent.product1.u[1],fundamentalWaveCurrent.product1.u[2],fundamentalWaveCurrent.product1.y,fundamentalWaveCurrent.product2.nu,fundamentalWaveCurrent.product2.significantDigits,fundamentalWaveCurrent.product2.u[1],fundamentalWaveCurrent.product2.u[2],fundamentalWaveCurrent.product2.y,fundamentalWaveCurrent.rectangularToPolar.u_im,fundamentalWaveCurrent.rectangularToPolar.u_re,fundamentalWaveCurrent.rectangularToPolar.y_abs,fundamentalWaveCurrent.rectangularToPolar.y_arg,fundamentalWaveCurrent.sin1.amplitude,fundamentalWaveCurrent.sin1.continuous,fundamentalWaveCurrent.sin1.f,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.continuous,fundamentalWaveCurrent.sin2.f,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.sin2.y,fundamentalWaveCurrent.u,fundamentalWaveCurrent.useConjugateComplex,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,fundamentalWaveCurrent.y0Cos,fundamentalWaveCurrent.y0Sin,fundamentalWaveCurrent.y_arg,fundamentalWaveCurrent.y_rms,fundamentalWaveVoltage.f,fundamentalWaveVoltage.gain.k,fundamentalWaveVoltage.gain.u,fundamentalWaveVoltage.gain.y,fundamentalWaveVoltage.k,fundamentalWaveVoltage.mean1.f,fundamentalWaveVoltage.mean1.u,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean1.x0,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y0,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y0,fundamentalWaveVoltage.mean2.yGreaterOrEqualZero,fundamentalWaveVoltage.product1.nu,fundamentalWaveVoltage.product1.significantDigits,fundamentalWaveVoltage.product1.u[1],fundamentalWaveVoltage.product1.u[2],fundamentalWaveVoltage.product1.y,fundamentalWaveVoltage.product2.nu,fundamentalWaveVoltage.product2.significantDigits,fundamentalWaveVoltage.product2.u[1],fundamentalWaveVoltage.product2.u[2],fundamentalWaveVoltage.product2.y,fundamentalWaveVoltage.rectangularToPolar.u_im,fundamentalWaveVoltage.rectangularToPolar.u_re,fundamentalWaveVoltage.rectangularToPolar.y_abs,fundamentalWaveVoltage.rectangularToPolar.y_arg,fundamentalWaveVoltage.sin1.amplitude,fundamentalWaveVoltage.sin1.continuous,fundamentalWaveVoltage.sin1.f,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.continuous,fundamentalWaveVoltage.sin2.f,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.sin2.y,fundamentalWaveVoltage.u,fundamentalWaveVoltage.useConjugateComplex,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y0Cos,fundamentalWaveVoltage.y0Sin,fundamentalWaveVoltage.y_arg,fundamentalWaveVoltage.y_rms,ground.p.i,ground.p.v,inverter.GoffDiode,inverter.GoffTransistor,inverter.LossPower,inverter.RonDiode,inverter.RonTransistor,inverter.T,inverter.T_heatPort,inverter.VkneeDiode,inverter.VkneeTransistor,inverter.ac.i,inverter.ac.v,inverter.andCondition_n.u1,inverter.andCondition_n.u2,inverter.andCondition_n.y,inverter.andCondition_p.u1,inverter.andCondition_p.u2,inverter.andCondition_p.y,inverter.constantEnable,inverter.dc_n.i,inverter.dc_n.v,inverter.dc_p.i,inverter.dc_p.v,inverter.diode_n.Goff,inverter.diode_n.LossPower,inverter.diode_n.Ron,inverter.diode_n.T,inverter.diode_n.T_heatPort,inverter.diode_n.Vknee,inverter.diode_n.i,inverter.diode_n.n.i,inverter.diode_n.n.v,inverter.diode_n.off,inverter.diode_n.p.i,inverter.diode_n.p.v,inverter.diode_n.useHeatPort,inverter.diode_n.v,inverter.diode_p.Goff,inverter.diode_p.LossPower,inverter.diode_p.Ron,inverter.diode_p.T,inverter.diode_p.T_heatPort,inverter.diode_p.Vknee,inverter.diode_p.i,inverter.diode_p.n.i,inverter.diode_p.n.v,inverter.diode_p.off,inverter.diode_p.p.i,inverter.diode_p.p.v,inverter.diode_p.useHeatPort,inverter.diode_p.v,inverter.enableLogic.booleanReplicator.nout,inverter.enableLogic.booleanReplicator.u,inverter.enableLogic.booleanReplicator.y[1],inverter.enableLogic.constantEnable,inverter.enableLogic.enableConstantSource.k,inverter.enableLogic.enableConstantSource.y,inverter.enableLogic.internalEnable[1],inverter.enableLogic.m,inverter.enableLogic.useConstantEnable,inverter.fire_n,inverter.fire_p,inverter.iAC,inverter.iDC,inverter.m,inverter.powerAC,inverter.powerDC,inverter.transistor_n.Goff,inverter.transistor_n.LossPower,inverter.transistor_n.Ron,inverter.transistor_n.T,inverter.transistor_n.T_heatPort,inverter.transistor_n.Vknee,inverter.transistor_n.fire,inverter.transistor_n.i,inverter.transistor_n.n.i,inverter.transistor_n.n.v,inverter.transistor_n.off,inverter.transistor_n.p.i,inverter.transistor_n.p.v,inverter.transistor_n.useHeatPort,inverter.transistor_n.v,inverter.transistor_p.Goff,inverter.transistor_p.LossPower,inverter.transistor_p.Ron,inverter.transistor_p.T,inverter.transistor_p.T_heatPort,inverter.transistor_p.Vknee,inverter.transistor_p.fire,inverter.transistor_p.i,inverter.transistor_p.n.i,inverter.transistor_p.n.v,inverter.transistor_p.off,inverter.transistor_p.p.i,inverter.transistor_p.p.v,inverter.transistor_p.useHeatPort,inverter.transistor_p.v,inverter.useConstantEnable,inverter.useHeatPort,inverter.vAC,inverter.vDC,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,signalPWM.commonComparison,signalPWM.constantDutyCycle,signalPWM.dutyCycle,signalPWM.f,signalPWM.fire,signalPWM.greaterEqual_p.u1,signalPWM.greaterEqual_p.u2,signalPWM.greaterEqual_p.y,signalPWM.inverse.u,signalPWM.inverse.y,signalPWM.limiter.homotopyType,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.limiter.y,signalPWM.notFire,signalPWM.refType,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.sawtooth.y,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.startTime,signalPWM.zeroOrderHold.u,signalPWM.zeroOrderHold.y,signalPWM.zeroOrderHold.ySample,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v filterSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.mat", vars={"fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "inverter.ac.i", "inverter.ac.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.ref.mat", vars={"fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "inverter.ac.i", "inverter.ac.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy_res.csv --output-variables inverter.ac.v inverter.ac.i fundamentalWaveVoltage.mean1.y fundamentalWaveVoltage.mean2.y fundamentalWaveCurrent.mean1.y fundamentalWaveCurrent.mean2.y --start-time 0 --stop-time 0.1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ../Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_trunk_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.958118859678507]