Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 8 kB / 264.1 MB, free: 2.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3214, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.4623, allocations: 78.67 MB / 387.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/0.4627, allocations: 87.94 kB / 387.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08738/0.5501, allocations: 20.95 MB / 408.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5501, allocations: 0 / 408.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.5503, allocations: 32.16 kB / 408.3 MB, free: 8.633 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004928/0.5552, allocations: 1.542 MB / 409.9 MB, free: 7.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.5553, allocations: 8.031 kB / 409.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004537/0.5557, allocations: 168.5 kB / 410 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.5561, allocations: 158.1 kB / 410.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.5589, allocations: 0.9569 MB / 411.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-05/0.559, allocations: 78.02 kB / 411.2 MB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.5593, allocations: 100 kB / 411.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/0.5638, allocations: 1.528 MB / 412.8 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.5639, allocations: 4 kB / 412.8 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/0.5641, allocations: 47.98 kB / 412.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-05/0.5642, allocations: 46.03 kB / 412.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004245/0.5684, allocations: 1.386 MB / 414.3 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2652/0.8337, allocations: 4.958 MB / 419.3 MB, free: 84.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.8365, allocations: 1.453 MB / 420.7 MB, free: 84.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.018e-05/0.8366, allocations: 12.42 kB / 420.7 MB, free: 84.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.8382, allocations: 0.6147 MB / 421.4 MB, free: 83.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 4.418e-06/0.8382, allocations: 5.312 kB / 421.4 MB, free: 83.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.01009/0.8483, allocations: 2.459 MB / 423.8 MB, free: 83.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.8484, allocations: 89.28 kB / 423.9 MB, free: 83.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.85, allocations: 0.8406 MB / 424.8 MB, free: 83.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.8502, allocations: 40.2 kB / 424.8 MB, free: 83.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/0.8507, allocations: 0.5137 MB / 425.3 MB, free: 83.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.851, allocations: 235.9 kB / 425.5 MB, free: 83.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.851, allocations: 14.06 kB / 425.6 MB, free: 83.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.8511, allocations: 331.5 kB / 425.9 MB, free: 82.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.8523, allocations: 422.7 kB / 426.3 MB, free: 82.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.8534, allocations: 0.55 MB / 426.8 MB, free: 82.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8546, allocations: 455.2 kB / 427.3 MB, free: 82.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.8546, allocations: 0 / 427.3 MB, free: 82.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003298/0.8579, allocations: 1.294 MB / 428.6 MB, free: 82.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.858, allocations: 7.219 kB / 428.6 MB, free: 82.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.858, allocations: 3.781 kB / 428.6 MB, free: 82.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.8594, allocations: 403.4 kB / 429 MB, free: 82.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.8603, allocations: 113.4 kB / 429.1 MB, free: 82.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.8678, allocations: 4.251 MB / 433.3 MB, free: 80.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.8689, allocations: 89.2 kB / 433.4 MB, free: 80.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.869, allocations: 25.62 kB / 433.5 MB, free: 80.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.87, allocations: 488.9 kB / 433.9 MB, free: 79.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.8703, allocations: 97.11 kB / 434 MB, free: 79.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.8706, allocations: 117.7 kB / 434.1 MB, free: 79.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.8706, allocations: 7.281 kB / 434.1 MB, free: 79.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.8706, allocations: 0 / 434.1 MB, free: 79.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.8707, allocations: 11.31 kB / 434.2 MB, free: 79.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005848/0.8765, allocations: 2.585 MB / 436.7 MB, free: 78.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.8766, allocations: 0 / 436.7 MB, free: 78.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.8774, allocations: 89.39 kB / 436.8 MB, free: 78.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.8787, allocations: 390 kB / 437.2 MB, free: 78.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/0.8788, allocations: 15.61 kB / 437.2 MB, free: 78.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007405/0.8862, allocations: 4.22 MB / 441.4 MB, free: 76.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8862, allocations: 3.25 kB / 441.5 MB, free: 76.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004583/0.8908, allocations: 1.972 MB / 443.4 MB, free: 75.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/0.8916, allocations: 288.4 kB / 443.7 MB, free: 74.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.8918, allocations: 15.75 kB / 443.7 MB, free: 74.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007916/0.8926, allocations: 53.83 kB / 443.8 MB, free: 74.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.8929, allocations: 78.41 kB / 443.8 MB, free: 74.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/0.893, allocations: 19.94 kB / 443.9 MB, free: 74.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001225/0.8942, allocations: 0.663 MB / 444.5 MB, free: 74.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8943, allocations: 0 / 444.5 MB, free: 74.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001378/0.8956, allocations: 354.9 kB / 444.9 MB, free: 73.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004766/0.9004, allocations: 2.547 MB / 447.4 MB, free: 71.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.9037, allocations: 1.292 MB / 448.7 MB, free: 70.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9037, allocations: 0.875 kB / 448.7 MB, free: 70.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.9056, allocations: 0.8123 MB / 449.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.9073, allocations: 233 kB / 449.8 MB, free: 69.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.9163, allocations: 6.086 MB / 455.8 MB, free: 63.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.9174, allocations: 1.405 MB / 457.2 MB, free: 62.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008711/0.9183, allocations: 174.6 kB / 457.4 MB, free: 62.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.9191, allocations: 410.8 kB / 457.8 MB, free: 62.28 MB / 346.7 MB Notification: Performance of SimCode: time 2.194e-06/0.9191, allocations: 0 / 457.8 MB, free: 62.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06628/0.9854, allocations: 25.41 MB / 483.2 MB, free: 37.35 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.9856, allocations: 263.1 kB / 483.5 MB, free: 36.99 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.341/4.326, allocations: 0 / 483.5 MB, free: 36.99 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat