Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.697/1.697, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 12 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08388, allocations: 38.77 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4411, allocations: 75.67 MB / 347.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4414, allocations: 81.27 kB / 347.9 MB, free: 13.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07731/0.5188, allocations: 19.69 MB / 367.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5188, allocations: 4 kB / 367.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.409e-05/0.5189, allocations: 20 kB / 367.6 MB, free: 13.26 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003747/0.5226, allocations: 1.157 MB / 368.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.5227, allocations: 8.031 kB / 368.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003151/0.523, allocations: 138.6 kB / 368.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/0.5237, allocations: 141 kB / 369 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.5248, allocations: 0.5005 MB / 369.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.5249, allocations: 67.38 kB / 369.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.5251, allocations: 89.31 kB / 369.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.5276, allocations: 0.8972 MB / 370.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.5276, allocations: 7.875 kB / 370.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.5278, allocations: 51.55 kB / 370.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.5278, allocations: 23.95 kB / 370.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.5301, allocations: 0.7021 MB / 371.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00738/0.5375, allocations: 3.261 MB / 374.6 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.5398, allocations: 0.9261 MB / 375.6 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/0.5399, allocations: 8.547 kB / 375.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.5411, allocations: 440.8 kB / 376 MB, free: 6.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=69): time 3.546e-06/0.5412, allocations: 4 kB / 376 MB, free: 6.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=69): time 0.007372/0.5485, allocations: 1.538 MB / 377.5 MB, free: 5.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.5487, allocations: 196.5 kB / 377.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/0.5494, allocations: 388.8 kB / 378.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/0.5495, allocations: 39.89 kB / 378.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.5499, allocations: 389.1 kB / 378.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.5502, allocations: 226.7 kB / 378.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.5503, allocations: 14.69 kB / 378.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.5505, allocations: 364.5 kB / 379.1 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008169/0.5513, allocations: 240.4 kB / 379.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.5523, allocations: 443.4 kB / 379.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009255/0.5533, allocations: 275.8 kB / 380.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.5533, allocations: 112 / 380.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002988/0.5563, allocations: 0.9299 MB / 381 MB, free: 1.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.5563, allocations: 8 kB / 381 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.5564, allocations: 4 kB / 381 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.5578, allocations: 267.7 kB / 381.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/0.5587, allocations: 123.8 kB / 381.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008386/0.5671, allocations: 4.465 MB / 385.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.5681, allocations: 95.3 kB / 385.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-05/0.5682, allocations: 35.98 kB / 386 MB, free: 12.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006041/0.5688, allocations: 237.6 kB / 386.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.569, allocations: 55.34 kB / 386.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.572, allocations: 0.8615 MB / 387.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.5721, allocations: 8 kB / 387.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5721, allocations: 0 / 387.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5721, allocations: 3.984 kB / 387.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/0.5767, allocations: 1.663 MB / 388.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.5768, allocations: 3.984 kB / 388.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.5775, allocations: 75.89 kB / 388.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.5789, allocations: 257.7 kB / 389.1 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.579, allocations: 12 kB / 389.1 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008235/0.5873, allocations: 4.434 MB / 393.6 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5873, allocations: 0 / 393.6 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003986/0.5913, allocations: 1.225 MB / 394.8 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/0.5918, allocations: 200.2 kB / 395 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.592, allocations: 16 kB / 395 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.5927, allocations: 51.89 kB / 395.1 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.593, allocations: 56.48 kB / 395.1 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.5931, allocations: 23.98 kB / 395.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005682/0.5936, allocations: 299.1 kB / 395.4 MB, free: 2.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5936, allocations: 3.938 kB / 395.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001388/0.595, allocations: 283 kB / 395.7 MB, free: 2.453 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004423/0.5995, allocations: 1.886 MB / 397.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.6024, allocations: 0.9759 MB / 398.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.6024, allocations: 3.984 kB / 398.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.6042, allocations: 0.6713 MB / 399.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/0.605, allocations: 107.4 kB / 399.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.6121, allocations: 5.767 MB / 405.1 MB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/0.6129, allocations: 0.9934 MB / 406.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.6135, allocations: 60.86 kB / 406.2 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/0.614, allocations: 283.3 kB / 406.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.614, allocations: 0 / 406.4 MB, free: 7.441 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.6746, allocations: 15.62 MB / 422.1 MB, free: 7.859 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/0.6749, allocations: 223.8 kB / 422.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/3.839, allocations: 4 kB / 422.3 MB, free: 7.617 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat