Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 108.4 kB / 20.43 MB, free: 4.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 197.3 kB / 23.71 MB, free: 2.148 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9221/0.9221, allocations: 225.7 MB / 252.5 MB, free: 14.46 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 55.89 kB / 372 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.217, allocations: 52.17 MB / 424.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.003742/0.2207, allocations: 4.368 MB / 428.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2224, allocations: 1.332 MB / 429.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.2226, allocations: 19.62 kB / 429.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.2229, allocations: 137.2 kB / 430 MB, free: 3.781 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.2232, allocations: 213.4 kB / 430.2 MB, free: 3.621 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.2238, allocations: 366.8 kB / 430.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.2244, allocations: 1.041 MB / 431.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.2248, allocations: 261.7 kB / 431.9 MB, free: 2.664 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.2251, allocations: 401.1 kB / 432.3 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.2253, allocations: 388 kB / 432.7 MB, free: 2.145 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.2254, allocations: 100.6 kB / 432.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.2256, allocations: 103.4 kB / 432.9 MB, free: 2.141 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2257, allocations: 212.3 kB / 433.1 MB, free: 1.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.2259, allocations: 377.1 kB / 433.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005525/0.2264, allocations: 1.124 MB / 434.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2264, allocations: 1.719 kB / 434.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2264, allocations: 0 / 434.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.2264, allocations: 0 / 434.6 MB, free: 0.8398 MB / 330.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.001414/0.2279, allocations: 1.395 MB / 435.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2279, allocations: 14.06 kB / 436 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.142e-05/0.228, allocations: 109.3 kB / 436.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.2281, allocations: 105.8 kB / 436.2 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006541/0.2288, allocations: 0.518 MB / 436.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.2288, allocations: 59.97 kB / 436.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.2289, allocations: 72.2 kB / 436.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000886/0.2297, allocations: 0.8144 MB / 437.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2298, allocations: 0.9688 kB / 437.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.2298, allocations: 31.22 kB / 437.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.2298, allocations: 16.5 kB / 437.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.2306, allocations: 0.557 MB / 438.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.233, allocations: 2.34 MB / 440.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/0.2338, allocations: 0.5386 MB / 441.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.2341, allocations: 264.1 kB / 441.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.2342, allocations: 11.92 kB / 441.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005174/0.2347, allocations: 463.6 kB / 441.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 1.613e-06/0.2347, allocations: 5.281 kB / 441.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.001868/0.2366, allocations: 1.124 MB / 443 MB, free: 11.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.2366, allocations: 121.6 kB / 443.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.2371, allocations: 0.5337 MB / 443.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.2371, allocations: 43.92 kB / 443.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.2373, allocations: 343.8 kB / 444 MB, free: 10.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.2374, allocations: 208.4 kB / 444.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.2375, allocations: 138.3 kB / 444.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2376, allocations: 380.7 kB / 444.7 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.2379, allocations: 266.4 kB / 445 MB, free: 9.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.2383, allocations: 495.9 kB / 445.5 MB, free: 8.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.239, allocations: 0.6492 MB / 446.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.239, allocations: 0 / 446.1 MB, free: 8.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009173/0.2399, allocations: 0.847 MB / 447 MB, free: 7.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.2399, allocations: 33.7 kB / 447 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2399, allocations: 8.547 kB / 447 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/0.2402, allocations: 154.7 kB / 447.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.2405, allocations: 115.8 kB / 447.3 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.2423, allocations: 2.413 MB / 449.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.2425, allocations: 91.61 kB / 449.8 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.2425, allocations: 28 kB / 449.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004247/0.243, allocations: 411.7 kB / 450.2 MB, free: 3.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000372/0.2433, allocations: 480 kB / 450.7 MB, free: 3.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006131/0.244, allocations: 0.6261 MB / 451.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.244, allocations: 3.938 kB / 451.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0008701/0.2448, allocations: 0.8235 MB / 452.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2448, allocations: 37.69 kB / 452.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2448, allocations: 4.562 kB / 452.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.2451, allocations: 156.8 kB / 452.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.2453, allocations: 107.8 kB / 452.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.247, allocations: 2.413 MB / 454.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.2472, allocations: 75.69 kB / 454.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2473, allocations: 32.12 kB / 454.9 MB, free: 14.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 30 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveCurrent.mean2.y_last,$PRE.fundamentalWaveCurrent.mean2.y_last,fundamentalWaveCurrent.mean1.y_last,$PRE.fundamentalWaveCurrent.mean1.y_last,fundamentalWaveVoltage.mean2.y_last,$PRE.fundamentalWaveVoltage.mean2.y_last,fundamentalWaveVoltage.mean1.y_last,$PRE.fundamentalWaveVoltage.mean1.y_last,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,inverter.diode_n.off,inverter.transistor_n.off,inverter.diode_p.off,inverter.transistor_p.off,inverter.andCondition_n.y,inverter.andCondition_p.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.2474, allocations: 246.2 kB / 455.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.2474, allocations: 79.56 kB / 455.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009226/0.2484, allocations: 0.7507 MB / 456 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2484, allocations: 4 kB / 456 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.2484, allocations: 0 / 456 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2484, allocations: 3.984 kB / 456 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2498, allocations: 1.399 MB / 457.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2498, allocations: 4 kB / 457.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.25, allocations: 71.89 kB / 457.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.2502, allocations: 143.7 kB / 457.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.2502, allocations: 19.98 kB / 457.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.2519, allocations: 2.416 MB / 460.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2519, allocations: 0 / 460.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.2532, allocations: 1.121 MB / 461.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2534, allocations: 127.4 kB / 461.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.2534, allocations: 12 kB / 461.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.2536, allocations: 47.89 kB / 461.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2537, allocations: 64.73 kB / 461.4 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.2538, allocations: 23.98 kB / 461.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.254, allocations: 374.8 kB / 461.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.254, allocations: 0 / 461.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006599/0.2547, allocations: 367.2 kB / 462.2 MB, free: 7.453 MB / 362.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.001446/0.2561, allocations: 1.698 MB / 463.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.2576, allocations: 1.459 MB / 465.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2576, allocations: 0 / 465.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.2581, allocations: 491 kB / 465.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.2585, allocations: 126.9 kB / 465.9 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.2643, allocations: 6.155 MB / 472.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.2645, allocations: 357.4 kB / 472.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.2648, allocations: 101.2 kB / 472.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.265, allocations: 267.3 kB / 472.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.265, allocations: 0 / 472.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08462/0.3496, allocations: 19.07 MB / 491.9 MB, free: 9.672 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.29, allocations: 11.09 kB / 491.9 MB, free: 9.664 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.fmu) > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler.fmu) > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,inverter.ac.v,inverter.ac.i Variables in the result:R,constantVoltage_n.V,constantVoltage_n.i,constantVoltage_n.n.i,constantVoltage_n.n.v,constantVoltage_n.p.i,constantVoltage_n.p.v,constantVoltage_n.v,constantVoltage_p.V,constantVoltage_p.i,constantVoltage_p.n.i,constantVoltage_p.n.v,constantVoltage_p.p.i,constantVoltage_p.p.v,constantVoltage_p.v,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,der(fundamentalWaveCurrent.mean1.x),der(fundamentalWaveCurrent.mean2.x),der(fundamentalWaveVoltage.mean1.x),der(fundamentalWaveVoltage.mean2.x),f,f1,fundamentalWaveCurrent.f,fundamentalWaveCurrent.gain.k,fundamentalWaveCurrent.gain.u,fundamentalWaveCurrent.gain.y,fundamentalWaveCurrent.k,fundamentalWaveCurrent.mean1.f,fundamentalWaveCurrent.mean1.u,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean1.x0,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.yGreaterOrEqualZero,fundamentalWaveCurrent.product1.nu,fundamentalWaveCurrent.product1.significantDigits,fundamentalWaveCurrent.product1.u[1],fundamentalWaveCurrent.product1.u[2],fundamentalWaveCurrent.product1.y,fundamentalWaveCurrent.product2.nu,fundamentalWaveCurrent.product2.significantDigits,fundamentalWaveCurrent.product2.u[1],fundamentalWaveCurrent.product2.u[2],fundamentalWaveCurrent.product2.y,fundamentalWaveCurrent.rectangularToPolar.u_im,fundamentalWaveCurrent.rectangularToPolar.u_re,fundamentalWaveCurrent.rectangularToPolar.y_abs,fundamentalWaveCurrent.rectangularToPolar.y_arg,fundamentalWaveCurrent.sin1.amplitude,fundamentalWaveCurrent.sin1.f,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.f,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.sin2.y,fundamentalWaveCurrent.u,fundamentalWaveCurrent.useConjugateComplex,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,fundamentalWaveCurrent.y_arg,fundamentalWaveCurrent.y_rms,fundamentalWaveVoltage.f,fundamentalWaveVoltage.gain.k,fundamentalWaveVoltage.gain.u,fundamentalWaveVoltage.gain.y,fundamentalWaveVoltage.k,fundamentalWaveVoltage.mean1.f,fundamentalWaveVoltage.mean1.u,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean1.x0,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.yGreaterOrEqualZero,fundamentalWaveVoltage.product1.nu,fundamentalWaveVoltage.product1.significantDigits,fundamentalWaveVoltage.product1.u[1],fundamentalWaveVoltage.product1.u[2],fundamentalWaveVoltage.product1.y,fundamentalWaveVoltage.product2.nu,fundamentalWaveVoltage.product2.significantDigits,fundamentalWaveVoltage.product2.u[1],fundamentalWaveVoltage.product2.u[2],fundamentalWaveVoltage.product2.y,fundamentalWaveVoltage.rectangularToPolar.u_im,fundamentalWaveVoltage.rectangularToPolar.u_re,fundamentalWaveVoltage.rectangularToPolar.y_abs,fundamentalWaveVoltage.rectangularToPolar.y_arg,fundamentalWaveVoltage.sin1.amplitude,fundamentalWaveVoltage.sin1.f,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.f,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.sin2.y,fundamentalWaveVoltage.u,fundamentalWaveVoltage.useConjugateComplex,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y_arg,fundamentalWaveVoltage.y_rms,ground.p.i,ground.p.v,inverter.GoffDiode,inverter.GoffTransistor,inverter.LossPower,inverter.RonDiode,inverter.RonTransistor,inverter.T,inverter.T_heatPort,inverter.VkneeDiode,inverter.VkneeTransistor,inverter.ac.i,inverter.ac.v,inverter.andCondition_n.u1,inverter.andCondition_n.u2,inverter.andCondition_n.y,inverter.andCondition_p.u1,inverter.andCondition_p.u2,inverter.andCondition_p.y,inverter.constantEnable,inverter.dc_n.i,inverter.dc_n.v,inverter.dc_p.i,inverter.dc_p.v,inverter.diode_n.Goff,inverter.diode_n.LossPower,inverter.diode_n.Ron,inverter.diode_n.T,inverter.diode_n.T_heatPort,inverter.diode_n.Vknee,inverter.diode_n.i,inverter.diode_n.n.i,inverter.diode_n.n.v,inverter.diode_n.off,inverter.diode_n.p.i,inverter.diode_n.p.v,inverter.diode_n.useHeatPort,inverter.diode_n.v,inverter.diode_p.Goff,inverter.diode_p.LossPower,inverter.diode_p.Ron,inverter.diode_p.T,inverter.diode_p.T_heatPort,inverter.diode_p.Vknee,inverter.diode_p.i,inverter.diode_p.n.i,inverter.diode_p.n.v,inverter.diode_p.off,inverter.diode_p.p.i,inverter.diode_p.p.v,inverter.diode_p.useHeatPort,inverter.diode_p.v,inverter.enableLogic.booleanReplicator.nout,inverter.enableLogic.booleanReplicator.u,inverter.enableLogic.booleanReplicator.y[1],inverter.enableLogic.constantEnable,inverter.enableLogic.enableConstantSource.k,inverter.enableLogic.enableConstantSource.y,inverter.enableLogic.internalEnable[1],inverter.enableLogic.m,inverter.enableLogic.useConstantEnable,inverter.fire_n,inverter.fire_p,inverter.iAC,inverter.iDC,inverter.m,inverter.powerAC,inverter.powerDC,inverter.transistor_n.Goff,inverter.transistor_n.LossPower,inverter.transistor_n.Ron,inverter.transistor_n.T,inverter.transistor_n.T_heatPort,inverter.transistor_n.Vknee,inverter.transistor_n.fire,inverter.transistor_n.i,inverter.transistor_n.n.i,inverter.transistor_n.n.v,inverter.transistor_n.off,inverter.transistor_n.p.i,inverter.transistor_n.p.v,inverter.transistor_n.useHeatPort,inverter.transistor_n.v,inverter.transistor_p.Goff,inverter.transistor_p.LossPower,inverter.transistor_p.Ron,inverter.transistor_p.T,inverter.transistor_p.T_heatPort,inverter.transistor_p.Vknee,inverter.transistor_p.fire,inverter.transistor_p.i,inverter.transistor_p.n.i,inverter.transistor_p.n.v,inverter.transistor_p.off,inverter.transistor_p.p.i,inverter.transistor_p.p.v,inverter.transistor_p.useHeatPort,inverter.transistor_p.v,inverter.useConstantEnable,inverter.useHeatPort,inverter.vAC,inverter.vDC,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,signalPWM.constantDutyCycle,signalPWM.dutyCycle,signalPWM.f,signalPWM.fire,signalPWM.greaterEqual.u1,signalPWM.greaterEqual.u2,signalPWM.greaterEqual.y,signalPWM.inverse.u,signalPWM.inverse.y,signalPWM.limiter.homotopyType,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.limiter.y,signalPWM.notFire,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.sawtooth.y,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.startTime,signalPWM.zeroOrderHold.u,signalPWM.zeroOrderHold.y,signalPWM.zeroOrderHold.ySample,sine.amplitude,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v filterSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.mat", vars={"inverter.ac.i", "inverter.ac.v", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.ref.mat", vars={"inverter.ac.i", "inverter.ac.v", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy_res.csv --output-variables fundamentalWaveCurrent.mean1.y fundamentalWaveCurrent.mean2.y fundamentalWaveVoltage.mean1.y fundamentalWaveVoltage.mean2.y inverter.ac.v inverter.ac.i --start-time 0 --stop-time 0.1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ../Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 10.794379802420735]