Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.Rectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 171.1 MB / 186.7 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003489, allocations: 8 kB / 233.2 MB, free: 3.047 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07157/0.07195, allocations: 38.77 MB / 271.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00525/0.07724, allocations: 3.443 MB / 275.4 MB, free: 8.715 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.07956, allocations: 0.9472 MB / 276.3 MB, free: 7.766 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004904/0.08009, allocations: 8 kB / 276.3 MB, free: 7.758 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.0803, allocations: 75.42 kB / 276.4 MB, free: 7.684 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.08098, allocations: 215.4 kB / 276.6 MB, free: 7.473 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.08139, allocations: 123.8 kB / 276.7 MB, free: 7.352 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.08218, allocations: 496 kB / 277.2 MB, free: 6.867 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.08256, allocations: 178.5 kB / 277.4 MB, free: 6.691 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.08298, allocations: 243.1 kB / 277.6 MB, free: 6.453 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.08344, allocations: 282.7 kB / 277.9 MB, free: 6.176 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.986e-05/0.08356, allocations: 36 kB / 277.9 MB, free: 6.141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.08368, allocations: 32 kB / 278 MB, free: 6.109 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.08386, allocations: 111.6 kB / 278.1 MB, free: 6 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.08404, allocations: 133.4 kB / 278.2 MB, free: 5.863 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.08476, allocations: 0.5027 MB / 278.7 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.923e-06/0.08478, allocations: 4 kB / 278.7 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.08479, allocations: 4 kB / 278.7 MB, free: 5.352 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.08481, allocations: 0 / 278.7 MB, free: 5.352 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001694/0.08652, allocations: 0.8274 MB / 279.5 MB, free: 4.477 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.08657, allocations: 8.031 kB / 279.6 MB, free: 4.469 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.08674, allocations: 71.16 kB / 279.6 MB, free: 4.398 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006451/0.08739, allocations: 368.9 kB / 280 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.08747, allocations: 49.2 kB / 280 MB, free: 3.945 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.08761, allocations: 52 kB / 280.1 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.08889, allocations: 0.5375 MB / 280.6 MB, free: 3.328 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.08893, allocations: 3.938 kB / 280.6 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.08901, allocations: 24 kB / 280.6 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.08904, allocations: 12 kB / 280.7 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.09029, allocations: 455.7 kB / 281.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/0.09443, allocations: 2.061 MB / 283.2 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.0958, allocations: 0.6455 MB / 283.8 MB, free: 24 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.09587, allocations: 4.562 kB / 283.8 MB, free: 20 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/0.09595, allocations: 43.06 kB / 283.9 MB, free: 15.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 4.201e-06/0.09597, allocations: 3.938 kB / 283.9 MB, free: 15.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.005976/0.102, allocations: 2.046 MB / 285.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1021, allocations: 59.97 kB / 286 MB, free: 13.73 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.1027, allocations: 369.6 kB / 286.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.1027, allocations: 37.7 kB / 286.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.103, allocations: 275.6 kB / 286.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.1032, allocations: 205 kB / 286.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-05/0.1033, allocations: 8 kB / 286.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1035, allocations: 338.8 kB / 287.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.104, allocations: 169 kB / 287.3 MB, free: 12.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.1046, allocations: 223.8 kB / 287.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.1051, allocations: 178.2 kB / 287.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-06/0.1052, allocations: 0 / 287.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001849/0.107, allocations: 0.6542 MB / 288.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.1071, allocations: 4 kB / 288.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.149e-06/0.1071, allocations: 0 / 288.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.1081, allocations: 263.2 kB / 288.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.1086, allocations: 63.97 kB / 288.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009574/0.1182, allocations: 6.84 MB / 295.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.1186, allocations: 20.02 kB / 295.6 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.1187, allocations: 16 kB / 295.6 MB, free: 3.512 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003819/0.1191, allocations: 173.8 kB / 295.8 MB, free: 3.332 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.1192, allocations: 47.44 kB / 295.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1194, allocations: 73.03 kB / 295.9 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.555e-06/0.1194, allocations: 7.953 kB / 295.9 MB, free: 3.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.711e-06/0.1194, allocations: 4 kB / 295.9 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.473e-06/0.1194, allocations: 3.984 kB / 295.9 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.1226, allocations: 1.349 MB / 297.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.596e-06/0.1227, allocations: 0 / 297.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.1231, allocations: 63.89 kB / 297.3 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.1241, allocations: 251.2 kB / 297.5 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.1242, allocations: 12 kB / 297.6 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1918/0.316, allocations: 6.832 MB / 304.4 MB, free: 24.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.249e-06/0.3161, allocations: 1.438 kB / 304.4 MB, free: 24.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.3185, allocations: 1.05 MB / 305.4 MB, free: 24.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.3189, allocations: 162.7 kB / 305.6 MB, free: 24.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.319, allocations: 11.81 kB / 305.6 MB, free: 24.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.3193, allocations: 20.08 kB / 305.6 MB, free: 24.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.3195, allocations: 49.22 kB / 305.7 MB, free: 24.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.3196, allocations: 18.31 kB / 305.7 MB, free: 24.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004075/0.32, allocations: 261.4 kB / 305.9 MB, free: 24.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.32, allocations: 0 / 305.9 MB, free: 24.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00117/0.3212, allocations: 173.7 kB / 306.1 MB, free: 24.32 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.3214, allocations: 116.9 kB / 306.2 MB, free: 24.23 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.3233, allocations: 1.046 MB / 307.3 MB, free: 23.7 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.448e-06/0.3234, allocations: 0 / 307.3 MB, free: 23.7 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.3248, allocations: 0.8417 MB / 308.1 MB, free: 23.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.3254, allocations: 79.7 kB / 308.2 MB, free: 23.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.3284, allocations: 1.566 MB / 309.8 MB, free: 22.15 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.3289, allocations: 0.8904 MB / 310.7 MB, free: 21.44 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.329, allocations: 29.72 kB / 310.7 MB, free: 21.43 MB / 250.7 MB Notification: Performance of SimCode: time 2.108e-06/0.329, allocations: 0.9688 kB / 310.7 MB, free: 21.43 MB / 250.7 MB Notification: Performance of Templates: time 0.01788/0.3469, allocations: 13.28 MB / 324 MB, free: 14.08 MB / 250.7 MB