Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009927/0.0009927, allocations: 84.34 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009753/0.0009753, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8871/0.8871, allocations: 177.4 MB / 204.5 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 326.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.821e-05, allocations: 8.812 kB / 326.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.004576/0.004594, allocations: 4.618 MB / 331.5 MB, free: 9.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.00654, allocations: 1.562 MB / 333.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.006837, allocations: 31.81 kB / 333.1 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.007099, allocations: 138.5 kB / 333.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.007459, allocations: 221.9 kB / 333.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.008051, allocations: 427 kB / 333.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.008778, allocations: 1.129 MB / 335 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.009138, allocations: 271 kB / 335.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004996/0.009638, allocations: 0.5963 MB / 335.9 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.009955, allocations: 330.9 kB / 336.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/0.01005, allocations: 104 kB / 336.3 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.01019, allocations: 123.9 kB / 336.4 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.01033, allocations: 223.2 kB / 336.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.01053, allocations: 311.2 kB / 336.9 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.01155, allocations: 1.192 MB / 338.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01156, allocations: 0 / 338.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01156, allocations: 0 / 338.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.01157, allocations: 4 kB / 338.1 MB, free: 2.898 MB / 298.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.001539/0.01311, allocations: 1.432 MB / 339.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.01315, allocations: 12.58 kB / 339.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.277e-05/0.01324, allocations: 114.7 kB / 339.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.01359, allocations: 152.2 kB / 339.8 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.01426, allocations: 0.5563 MB / 340.4 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.0143, allocations: 50.38 kB / 340.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.01437, allocations: 80.36 kB / 340.5 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.01525, allocations: 0.8044 MB / 341.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.01527, allocations: 8.172 kB / 341.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.01532, allocations: 32.11 kB / 341.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01533, allocations: 16 kB / 341.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007602/0.01609, allocations: 0.5672 MB / 341.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.01847, allocations: 2.358 MB / 344.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.01924, allocations: 0.542 MB / 344.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.01958, allocations: 266.2 kB / 345.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.01962, allocations: 16.44 kB / 345.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008051/0.02043, allocations: 472.7 kB / 345.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.695e-06/0.02043, allocations: 4 kB / 345.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.00206/0.02249, allocations: 1.138 MB / 346.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.02255, allocations: 123.4 kB / 346.8 MB, free: 9.883 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.02304, allocations: 0.5821 MB / 347.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.02308, allocations: 41.7 kB / 347.5 MB, free: 9.246 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.02326, allocations: 357 kB / 347.8 MB, free: 8.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.02338, allocations: 206.3 kB / 348 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.02352, allocations: 134.7 kB / 348.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.02364, allocations: 382.8 kB / 348.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.02399, allocations: 266.4 kB / 348.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.02443, allocations: 495.1 kB / 349.3 MB, free: 7.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.02516, allocations: 0.6381 MB / 349.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.02516, allocations: 0 / 349.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001079/0.02624, allocations: 0.8722 MB / 350.8 MB, free: 5.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.02628, allocations: 33.69 kB / 350.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.02629, allocations: 12 kB / 350.8 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/0.02666, allocations: 152.7 kB / 351 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.02693, allocations: 111.8 kB / 351.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.02896, allocations: 2.42 MB / 353.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.02929, allocations: 99.42 kB / 353.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.02932, allocations: 31.98 kB / 353.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005184/0.02984, allocations: 407.7 kB / 354 MB, free: 2.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004099/0.03025, allocations: 475.2 kB / 354.5 MB, free: 1.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006572/0.03091, allocations: 0.6185 MB / 355.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/0.03091, allocations: 4 kB / 355.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0009462/0.03186, allocations: 0.8488 MB / 355.9 MB, free: 240 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.03188, allocations: 37.73 kB / 356 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.03189, allocations: 4 kB / 356 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.03215, allocations: 144.8 kB / 356.1 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.03239, allocations: 107.8 kB / 356.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.03421, allocations: 2.426 MB / 358.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.03449, allocations: 75.64 kB / 358.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.03452, allocations: 36.11 kB / 358.8 MB, free: 13.3 MB / 330.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.0001754/0.0347, allocations: 240.2 kB / 359 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.03477, allocations: 83.42 kB / 359.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.03583, allocations: 0.7591 MB / 359.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.03583, allocations: 8 kB / 359.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.03583, allocations: 3.984 kB / 359.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.03584, allocations: 0 / 359.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.03744, allocations: 1.411 MB / 361.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03744, allocations: 0 / 361.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.03765, allocations: 79.88 kB / 361.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/0.03789, allocations: 144.8 kB / 361.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.03792, allocations: 15.98 kB / 361.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.03978, allocations: 2.406 MB / 363.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.03978, allocations: 0 / 363.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.04104, allocations: 1.125 MB / 365 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.04123, allocations: 139.3 kB / 365.2 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.04128, allocations: 20 kB / 365.2 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.0415, allocations: 43.95 kB / 365.2 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.04161, allocations: 64.73 kB / 365.3 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.04165, allocations: 27.92 kB / 365.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003243/0.04197, allocations: 399.1 kB / 365.7 MB, free: 6.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04197, allocations: 0 / 365.7 MB, free: 6.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009827/0.04295, allocations: 371.3 kB / 366.1 MB, free: 5.785 MB / 330.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.001494/0.04445, allocations: 1.705 MB / 367.8 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.04617, allocations: 1.473 MB / 369.3 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.04618, allocations: 0 / 369.3 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.04668, allocations: 498 kB / 369.7 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.04715, allocations: 131.4 kB / 369.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.05383, allocations: 6.349 MB / 376.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.05409, allocations: 362.2 kB / 376.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002665/0.05435, allocations: 109.4 kB / 376.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.0546, allocations: 280.4 kB / 377 MB, free: 10.52 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.0546, allocations: 4 kB / 377 MB, free: 10.51 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08982/0.1444, allocations: 19.86 MB / 396.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.41, allocations: 11.86 kB / 396.8 MB, free: 6.93 MB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inverter.ac.v,inverter.ac.i,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y Variables in the result:R,constantVoltage_n.V,constantVoltage_n.i,constantVoltage_n.n.i,constantVoltage_n.n.v,constantVoltage_n.p.i,constantVoltage_n.p.v,constantVoltage_n.v,constantVoltage_p.V,constantVoltage_p.i,constantVoltage_p.n.i,constantVoltage_p.n.v,constantVoltage_p.p.i,constantVoltage_p.p.v,constantVoltage_p.v,currentSensor.i,currentSensor.n.i,currentSensor.n.v,currentSensor.p.i,currentSensor.p.v,der(fundamentalWaveCurrent.mean1.x),der(fundamentalWaveCurrent.mean2.x),der(fundamentalWaveVoltage.mean1.x),der(fundamentalWaveVoltage.mean2.x),f,f1,fundamentalWaveCurrent.f,fundamentalWaveCurrent.gain.k,fundamentalWaveCurrent.gain.u,fundamentalWaveCurrent.gain.y,fundamentalWaveCurrent.k,fundamentalWaveCurrent.mean1.f,fundamentalWaveCurrent.mean1.u,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean1.x0,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y0,fundamentalWaveCurrent.mean1.yGreaterOrEqualZero,fundamentalWaveCurrent.mean2.f,fundamentalWaveCurrent.mean2.u,fundamentalWaveCurrent.mean2.x,fundamentalWaveCurrent.mean2.x0,fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y0,fundamentalWaveCurrent.mean2.yGreaterOrEqualZero,fundamentalWaveCurrent.product1.nu,fundamentalWaveCurrent.product1.significantDigits,fundamentalWaveCurrent.product1.u[1],fundamentalWaveCurrent.product1.u[2],fundamentalWaveCurrent.product1.y,fundamentalWaveCurrent.product2.nu,fundamentalWaveCurrent.product2.significantDigits,fundamentalWaveCurrent.product2.u[1],fundamentalWaveCurrent.product2.u[2],fundamentalWaveCurrent.product2.y,fundamentalWaveCurrent.rectangularToPolar.u_im,fundamentalWaveCurrent.rectangularToPolar.u_re,fundamentalWaveCurrent.rectangularToPolar.y_abs,fundamentalWaveCurrent.rectangularToPolar.y_arg,fundamentalWaveCurrent.sin1.amplitude,fundamentalWaveCurrent.sin1.continuous,fundamentalWaveCurrent.sin1.f,fundamentalWaveCurrent.sin1.offset,fundamentalWaveCurrent.sin1.phase,fundamentalWaveCurrent.sin1.startTime,fundamentalWaveCurrent.sin1.y,fundamentalWaveCurrent.sin2.amplitude,fundamentalWaveCurrent.sin2.continuous,fundamentalWaveCurrent.sin2.f,fundamentalWaveCurrent.sin2.offset,fundamentalWaveCurrent.sin2.phase,fundamentalWaveCurrent.sin2.startTime,fundamentalWaveCurrent.sin2.y,fundamentalWaveCurrent.u,fundamentalWaveCurrent.useConjugateComplex,fundamentalWaveCurrent.x0Cos,fundamentalWaveCurrent.x0Sin,fundamentalWaveCurrent.y0Cos,fundamentalWaveCurrent.y0Sin,fundamentalWaveCurrent.y_arg,fundamentalWaveCurrent.y_rms,fundamentalWaveVoltage.f,fundamentalWaveVoltage.gain.k,fundamentalWaveVoltage.gain.u,fundamentalWaveVoltage.gain.y,fundamentalWaveVoltage.k,fundamentalWaveVoltage.mean1.f,fundamentalWaveVoltage.mean1.u,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean1.x0,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y0,fundamentalWaveVoltage.mean1.yGreaterOrEqualZero,fundamentalWaveVoltage.mean2.f,fundamentalWaveVoltage.mean2.u,fundamentalWaveVoltage.mean2.x,fundamentalWaveVoltage.mean2.x0,fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y0,fundamentalWaveVoltage.mean2.yGreaterOrEqualZero,fundamentalWaveVoltage.product1.nu,fundamentalWaveVoltage.product1.significantDigits,fundamentalWaveVoltage.product1.u[1],fundamentalWaveVoltage.product1.u[2],fundamentalWaveVoltage.product1.y,fundamentalWaveVoltage.product2.nu,fundamentalWaveVoltage.product2.significantDigits,fundamentalWaveVoltage.product2.u[1],fundamentalWaveVoltage.product2.u[2],fundamentalWaveVoltage.product2.y,fundamentalWaveVoltage.rectangularToPolar.u_im,fundamentalWaveVoltage.rectangularToPolar.u_re,fundamentalWaveVoltage.rectangularToPolar.y_abs,fundamentalWaveVoltage.rectangularToPolar.y_arg,fundamentalWaveVoltage.sin1.amplitude,fundamentalWaveVoltage.sin1.continuous,fundamentalWaveVoltage.sin1.f,fundamentalWaveVoltage.sin1.offset,fundamentalWaveVoltage.sin1.phase,fundamentalWaveVoltage.sin1.startTime,fundamentalWaveVoltage.sin1.y,fundamentalWaveVoltage.sin2.amplitude,fundamentalWaveVoltage.sin2.continuous,fundamentalWaveVoltage.sin2.f,fundamentalWaveVoltage.sin2.offset,fundamentalWaveVoltage.sin2.phase,fundamentalWaveVoltage.sin2.startTime,fundamentalWaveVoltage.sin2.y,fundamentalWaveVoltage.u,fundamentalWaveVoltage.useConjugateComplex,fundamentalWaveVoltage.x0Cos,fundamentalWaveVoltage.x0Sin,fundamentalWaveVoltage.y0Cos,fundamentalWaveVoltage.y0Sin,fundamentalWaveVoltage.y_arg,fundamentalWaveVoltage.y_rms,ground.p.i,ground.p.v,inverter.GoffDiode,inverter.GoffTransistor,inverter.LossPower,inverter.RonDiode,inverter.RonTransistor,inverter.T,inverter.T_heatPort,inverter.VkneeDiode,inverter.VkneeTransistor,inverter.ac.i,inverter.ac.v,inverter.andCondition_n.u1,inverter.andCondition_n.u2,inverter.andCondition_n.y,inverter.andCondition_p.u1,inverter.andCondition_p.u2,inverter.andCondition_p.y,inverter.constantEnable,inverter.dc_n.i,inverter.dc_n.v,inverter.dc_p.i,inverter.dc_p.v,inverter.diode_n.Goff,inverter.diode_n.LossPower,inverter.diode_n.Ron,inverter.diode_n.T,inverter.diode_n.T_heatPort,inverter.diode_n.Vknee,inverter.diode_n.i,inverter.diode_n.n.i,inverter.diode_n.n.v,inverter.diode_n.off,inverter.diode_n.p.i,inverter.diode_n.p.v,inverter.diode_n.useHeatPort,inverter.diode_n.v,inverter.diode_p.Goff,inverter.diode_p.LossPower,inverter.diode_p.Ron,inverter.diode_p.T,inverter.diode_p.T_heatPort,inverter.diode_p.Vknee,inverter.diode_p.i,inverter.diode_p.n.i,inverter.diode_p.n.v,inverter.diode_p.off,inverter.diode_p.p.i,inverter.diode_p.p.v,inverter.diode_p.useHeatPort,inverter.diode_p.v,inverter.enableLogic.booleanReplicator.nout,inverter.enableLogic.booleanReplicator.u,inverter.enableLogic.booleanReplicator.y[1],inverter.enableLogic.constantEnable,inverter.enableLogic.enableConstantSource.k,inverter.enableLogic.enableConstantSource.y,inverter.enableLogic.internalEnable[1],inverter.enableLogic.m,inverter.enableLogic.useConstantEnable,inverter.fire_n,inverter.fire_p,inverter.iAC,inverter.iDC,inverter.m,inverter.powerAC,inverter.powerDC,inverter.transistor_n.Goff,inverter.transistor_n.LossPower,inverter.transistor_n.Ron,inverter.transistor_n.T,inverter.transistor_n.T_heatPort,inverter.transistor_n.Vknee,inverter.transistor_n.fire,inverter.transistor_n.i,inverter.transistor_n.n.i,inverter.transistor_n.n.v,inverter.transistor_n.off,inverter.transistor_n.p.i,inverter.transistor_n.p.v,inverter.transistor_n.useHeatPort,inverter.transistor_n.v,inverter.transistor_p.Goff,inverter.transistor_p.LossPower,inverter.transistor_p.Ron,inverter.transistor_p.T,inverter.transistor_p.T_heatPort,inverter.transistor_p.Vknee,inverter.transistor_p.fire,inverter.transistor_p.i,inverter.transistor_p.n.i,inverter.transistor_p.n.v,inverter.transistor_p.off,inverter.transistor_p.p.i,inverter.transistor_p.p.v,inverter.transistor_p.useHeatPort,inverter.transistor_p.v,inverter.useConstantEnable,inverter.useHeatPort,inverter.vAC,inverter.vDC,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,signalPWM.commonComparison,signalPWM.constantDutyCycle,signalPWM.dutyCycle,signalPWM.f,signalPWM.fire,signalPWM.greaterEqual_p.u1,signalPWM.greaterEqual_p.u2,signalPWM.greaterEqual_p.y,signalPWM.inverse.u,signalPWM.inverse.y,signalPWM.limiter.homotopyType,signalPWM.limiter.strict,signalPWM.limiter.u,signalPWM.limiter.uMax,signalPWM.limiter.uMin,signalPWM.limiter.y,signalPWM.notFire,signalPWM.refType,signalPWM.sawtooth.amplitude,signalPWM.sawtooth.nperiod,signalPWM.sawtooth.offset,signalPWM.sawtooth.period,signalPWM.sawtooth.startTime,signalPWM.sawtooth.y,signalPWM.startTime,signalPWM.useConstantDutyCycle,signalPWM.zeroOrderHold.samplePeriod,signalPWM.zeroOrderHold.startTime,signalPWM.zeroOrderHold.u,signalPWM.zeroOrderHold.y,signalPWM.zeroOrderHold.ySample,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time,voltageSensor.n.i,voltageSensor.n.v,voltageSensor.p.i,voltageSensor.p.v,voltageSensor.v filterSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.mat", vars={"fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "inverter.ac.i", "inverter.ac.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCAC/SinglePhaseTwoLevel/SinglePhaseTwoLevel_R/SinglePhaseTwoLevel_R.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_OMSimulator-cs-euler.diff.ref.mat", vars={"fundamentalWaveCurrent.mean2.y", "fundamentalWaveCurrent.mean1.y", "fundamentalWaveVoltage.mean2.y", "fundamentalWaveVoltage.mean1.y", "inverter.ac.i", "inverter.ac.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy_res.csv --output-variables inverter.ac.v inverter.ac.i fundamentalWaveVoltage.mean1.y fundamentalWaveVoltage.mean2.y fundamentalWaveCurrent.mean1.y fundamentalWaveCurrent.mean2.y --start-time 0 --stop-time 0.1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ../Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_SinglePhaseTwoLevel_SinglePhaseTwoLevel_R.fmu) > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.002645372413099]