Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001004/0.001004, allocations: 114.8 kB / 20.44 MB, free: 4.602 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.001094/0.001094, allocations: 213.5 kB / 23.73 MB, free: 2.145 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9625/0.9625, allocations: 230.6 MB / 257.5 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_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.001259/0.001259, allocations: 59.91 kB / 379.3 MB, free: 420 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2099, allocations: 53.36 MB / 432.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.00378/0.2137, allocations: 4.626 MB / 437.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.2155, allocations: 1.547 MB / 438.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.2157, allocations: 28.31 kB / 438.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.216, allocations: 140.9 kB / 439 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.2163, allocations: 214.5 kB / 439.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.2169, allocations: 423.3 kB / 439.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007038/0.2176, allocations: 1.081 MB / 440.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.218, allocations: 280.1 kB / 441 MB, free: 12.9 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.2183, allocations: 410.5 kB / 441.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.2186, allocations: 397.1 kB / 441.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.901e-05/0.2187, allocations: 102.6 kB / 441.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.2189, allocations: 119.9 kB / 442 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.219, allocations: 228.8 kB / 442.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.2193, allocations: 378.3 kB / 442.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.22, allocations: 1.16 MB / 443.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.22, allocations: 1.125 kB / 443.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.22, allocations: 0 / 443.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.2201, allocations: 0 / 443.8 MB, free: 11.02 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.001569/0.2216, allocations: 1.442 MB / 445.2 MB, free: 9.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2217, allocations: 10.22 kB / 445.2 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.15e-05/0.2218, allocations: 116.4 kB / 445.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.2221, allocations: 154 kB / 445.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.223, allocations: 0.5486 MB / 446 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.223, allocations: 56.34 kB / 446.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.2231, allocations: 71.81 kB / 446.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008762/0.224, allocations: 0.812 MB / 447 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.224, allocations: 4 kB / 447 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.2241, allocations: 31.94 kB / 447 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2241, allocations: 20 kB / 447 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.2248, allocations: 0.5594 MB / 447.6 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.2271, allocations: 2.381 MB / 450 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.2278, allocations: 0.5323 MB / 450.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.2281, allocations: 258.2 kB / 450.7 MB, free: 4.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.2282, allocations: 12.44 kB / 450.7 MB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005266/0.2287, allocations: 492.7 kB / 451.2 MB, free: 4.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.555e-06/0.2287, allocations: 0 / 451.2 MB, free: 4.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.001857/0.2306, allocations: 1.138 MB / 452.4 MB, free: 3.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2306, allocations: 115.5 kB / 452.5 MB, free: 2.898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.2311, allocations: 0.5821 MB / 453.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.2311, allocations: 45.7 kB / 453.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.2315, allocations: 353 kB / 453.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2316, allocations: 206.3 kB / 453.7 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2318, allocations: 138.6 kB / 453.8 MB, free: 1.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2319, allocations: 378.8 kB / 454.2 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.2322, allocations: 274.4 kB / 454.4 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.2326, allocations: 491.1 kB / 454.9 MB, free: 340 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.2333, allocations: 0.6416 MB / 455.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2333, allocations: 4 kB / 455.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009509/0.2343, allocations: 0.8606 MB / 456.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.2343, allocations: 41.69 kB / 456.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2343, allocations: 7.938 kB / 456.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.2346, allocations: 152.8 kB / 456.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.2349, allocations: 111.8 kB / 456.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.2367, allocations: 2.424 MB / 459.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.237, allocations: 95.48 kB / 459.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.237, allocations: 31.98 kB / 459.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004522/0.2375, allocations: 407.7 kB / 459.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003921/0.2379, allocations: 475.2 kB / 460.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008829/0.2388, allocations: 0.63 MB / 460.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.2388, allocations: 3.938 kB / 460.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0009177/0.2397, allocations: 0.8411 MB / 461.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2397, allocations: 33.7 kB / 461.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2397, allocations: 4 kB / 461.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.24, allocations: 150.9 kB / 461.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.2402, allocations: 111.8 kB / 461.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.242, allocations: 2.421 MB / 464.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.2422, allocations: 83.64 kB / 464.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.2423, allocations: 27.98 kB / 464.4 MB, free: 6.281 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.0001718/0.2425, allocations: 244 kB / 464.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.2425, allocations: 75.53 kB / 464.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009987/0.2435, allocations: 0.7552 MB / 465.5 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2435, allocations: 8 kB / 465.5 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2435, allocations: 7.984 kB / 465.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2435, allocations: 0 / 465.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.245, allocations: 1.415 MB / 466.9 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2451, allocations: 3.938 kB / 466.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.2452, allocations: 79.88 kB / 467 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.2455, allocations: 144.8 kB / 467.1 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.2455, allocations: 23.92 kB / 467.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.2474, allocations: 2.409 MB / 469.6 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2474, allocations: 0 / 469.6 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.2487, allocations: 1.125 MB / 470.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.2489, allocations: 139.3 kB / 470.8 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.249, allocations: 23.98 kB / 470.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.2492, allocations: 47.89 kB / 470.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2493, allocations: 60.55 kB / 471 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.2493, allocations: 23.98 kB / 471 MB, free: 15.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003168/0.2496, allocations: 407.1 kB / 471.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2496, allocations: 0 / 471.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007351/0.2503, allocations: 363.3 kB / 471.7 MB, free: 14.76 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.001459/0.2518, allocations: 1.705 MB / 473.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.2535, allocations: 1.481 MB / 474.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2536, allocations: 0 / 474.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.254, allocations: 498 kB / 475.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.2545, allocations: 139.3 kB / 475.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/0.2605, allocations: 6.339 MB / 481.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.2607, allocations: 366.1 kB / 482.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000243/0.261, allocations: 105.4 kB / 482.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.2612, allocations: 279.3 kB / 482.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2612, allocations: 3.938 kB / 482.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09372/0.3549, allocations: 19.7 MB / 0.4906 GB, free: 120 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.379, allocations: 15.92 kB / 0.4906 GB, free: 104 kB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.fmu) > Modelica_4.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_4_1_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_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler.fmu) > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_4.1.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.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_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_4.1.0_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_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_4.1.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: 11.006608057767153]