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.0009855/0.0009855, allocations: 117.1 kB / 21.19 MB, free: 4.406 MB / 13.93 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.000979/0.000979, allocations: 221.5 kB / 24.48 MB, free: 1.402 MB / 13.93 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.8356/0.8356, allocations: 207.7 MB / 235.3 MB, free: 4.566 MB / 186.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 55.92 kB / 348.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.194, allocations: 49.17 MB / 397.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.007396/0.2014, allocations: 4.312 MB / 402.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00337/0.2047, allocations: 1.372 MB / 403.6 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006344/0.2054, allocations: 23.81 kB / 403.6 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.2058, allocations: 130.6 kB / 403.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007059/0.2065, allocations: 210.1 kB / 404 MB, free: 7.473 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.2075, allocations: 359.4 kB / 404.3 MB, free: 7.121 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2089, allocations: 1.04 MB / 405.4 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.2095, allocations: 262.8 kB / 405.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006679/0.2102, allocations: 398.5 kB / 406 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/0.2109, allocations: 374.1 kB / 406.4 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.2112, allocations: 100 kB / 406.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.2114, allocations: 96 kB / 406.6 MB, free: 4.852 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.2116, allocations: 223.2 kB / 406.8 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000473/0.212, allocations: 362.2 kB / 407.1 MB, free: 4.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.2133, allocations: 1.115 MB / 408.3 MB, free: 3.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2133, allocations: 4 kB / 408.3 MB, free: 3.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2133, allocations: 4 kB / 408.3 MB, free: 3.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.689e-05/0.2134, allocations: 0 / 408.3 MB, free: 3.152 MB / 314.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.002773/0.2161, allocations: 1.377 MB / 409.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.2162, allocations: 15.98 kB / 409.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.2163, allocations: 110.7 kB / 409.8 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.2165, allocations: 100.3 kB / 409.9 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2177, allocations: 0.5182 MB / 410.4 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/0.2178, allocations: 58.3 kB / 410.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2179, allocations: 72.38 kB / 410.5 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.2195, allocations: 0.7962 MB / 411.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.2195, allocations: 11.92 kB / 411.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.2196, allocations: 27.94 kB / 411.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.2196, allocations: 20 kB / 411.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.221, allocations: 0.5477 MB / 411.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.2253, allocations: 2.322 MB / 414.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.2266, allocations: 0.5264 MB / 414.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.2271, allocations: 258.2 kB / 415 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.2272, allocations: 16.48 kB / 415 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009405/0.2281, allocations: 468.7 kB / 415.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 4.348e-06/0.2281, allocations: 0 / 415.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.003355/0.2315, allocations: 1.134 MB / 416.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.2316, allocations: 111.5 kB / 416.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007973/0.2324, allocations: 0.5381 MB / 417.3 MB, free: 9.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/0.2324, allocations: 41.7 kB / 417.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.2327, allocations: 353 kB / 417.7 MB, free: 9.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.2329, allocations: 210.2 kB / 417.9 MB, free: 9.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.2331, allocations: 138.6 kB / 418 MB, free: 9.098 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2333, allocations: 378.8 kB / 418.4 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.2338, allocations: 258.4 kB / 418.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.2344, allocations: 495.9 kB / 419.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.2354, allocations: 0.6454 MB / 419.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2354, allocations: 0 / 419.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001546/0.237, allocations: 0.8511 MB / 420.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.237, allocations: 33.7 kB / 420.6 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.237, allocations: 7.938 kB / 420.6 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/0.2375, allocations: 156.6 kB / 420.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.2379, allocations: 120 kB / 420.9 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.2409, allocations: 2.414 MB / 423.3 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.2414, allocations: 87.52 kB / 423.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.2414, allocations: 32 kB / 423.4 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006404/0.2421, allocations: 403.7 kB / 423.8 MB, free: 2.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004988/0.2426, allocations: 480 kB / 424.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009095/0.2435, allocations: 0.6221 MB / 424.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.2435, allocations: 0 / 424.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.001344/0.2448, allocations: 0.8277 MB / 425.8 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/0.2449, allocations: 41.69 kB / 425.8 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2449, allocations: 4 kB / 425.8 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.2452, allocations: 145.1 kB / 425.9 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.2456, allocations: 112.1 kB / 426 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.2482, allocations: 2.438 MB / 428.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.2487, allocations: 67.75 kB / 428.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.2488, allocations: 31.98 kB / 428.6 MB, free: 13.86 MB / 346.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.0002935/0.2491, allocations: 236 kB / 428.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2492, allocations: 83.47 kB / 428.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2509, allocations: 0.7508 MB / 429.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.2509, allocations: 4 kB / 429.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2509, allocations: 4.125 kB / 429.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.2509, allocations: 7.984 kB / 429.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.2532, allocations: 1.384 MB / 431 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2532, allocations: 4 kB / 431.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.2535, allocations: 79.88 kB / 431.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/0.2538, allocations: 136.8 kB / 431.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.2539, allocations: 23.92 kB / 431.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.2565, allocations: 2.415 MB / 433.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2565, allocations: 0 / 433.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.2586, allocations: 1.113 MB / 434.8 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.259, allocations: 139.3 kB / 434.9 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.259, allocations: 12 kB / 435 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.2595, allocations: 43.95 kB / 435 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.2596, allocations: 68.48 kB / 435.1 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.2597, allocations: 23.98 kB / 435.1 MB, free: 7.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005033/0.2602, allocations: 370.8 kB / 435.5 MB, free: 6.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2602, allocations: 0 / 435.5 MB, free: 6.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00118/0.2614, allocations: 355.4 kB / 435.8 MB, free: 6.43 MB / 346.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.002458/0.2639, allocations: 1.687 MB / 437.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.2663, allocations: 1.476 MB / 439 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2663, allocations: 128 / 439 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008988/0.2672, allocations: 498.1 kB / 439.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.268, allocations: 126.6 kB / 439.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009608/0.2776, allocations: 6.156 MB / 445.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.278, allocations: 349.1 kB / 446.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000416/0.2785, allocations: 105.2 kB / 446.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.2788, allocations: 263.3 kB / 446.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2788, allocations: 0 / 446.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/0.3995, allocations: 19.11 MB / 465.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.403, allocations: 8.062 kB / 465.5 MB, free: 8.203 MB / 378.7 MB " [Timeout remaining time 651] (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.882611780427396]