Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09892, allocations: 44.52 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.413/0.512, allocations: 73.09 MB / 382.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5123, allocations: 82.91 kB / 382.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.5275, allocations: 3.638 MB / 385.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5275, allocations: 0 / 385.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.5275, allocations: 8.938 kB / 385.8 MB, free: 14.37 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009963/0.5285, allocations: 0.4978 MB / 386.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5286, allocations: 9.531 kB / 386.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.5287, allocations: 28.69 kB / 386.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.5291, allocations: 246 kB / 386.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.5292, allocations: 14.25 kB / 386.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.5292, allocations: 24.97 kB / 386.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.5298, allocations: 206.7 kB / 386.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5298, allocations: 4.031 kB / 386.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.5298, allocations: 7.531 kB / 386.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.5299, allocations: 6.219 kB / 386.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.5303, allocations: 148.4 kB / 387 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.5324, allocations: 0.9103 MB / 387.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.5331, allocations: 167.1 kB / 388.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.5331, allocations: 2.594 kB / 388.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5332, allocations: 34.91 kB / 388.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.176e-06/0.5332, allocations: 0 / 388.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002129/0.5353, allocations: 433 kB / 388.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.5354, allocations: 56.23 kB / 388.6 MB, free: 12.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.5357, allocations: 214.2 kB / 388.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.5357, allocations: 30.61 kB / 388.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.5358, allocations: 225.7 kB / 389 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.5359, allocations: 52.62 kB / 389.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.5359, allocations: 3.562 kB / 389.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.536, allocations: 319.7 kB / 389.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.5361, allocations: 49.02 kB / 389.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.5363, allocations: 103.7 kB / 389.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5365, allocations: 58.91 kB / 389.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5365, allocations: 0 / 389.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00103/0.5375, allocations: 269.1 kB / 389.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5376, allocations: 6.656 kB / 389.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5376, allocations: 7.266 kB / 389.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007911/0.5384, allocations: 98.73 kB / 390 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.5387, allocations: 41.83 kB / 390 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.5421, allocations: 1.769 MB / 391.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.5425, allocations: 27.16 kB / 391.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.5425, allocations: 3.906 kB / 391.8 MB, free: 10.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.5427, allocations: 140.1 kB / 392 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.5428, allocations: 17.2 kB / 392 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.5428, allocations: 21.91 kB / 392 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5428, allocations: 3.844 kB / 392 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5429, allocations: 192 / 392 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5429, allocations: 1.875 kB / 392 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.5433, allocations: 280.1 kB / 392.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5433, allocations: 3.938 kB / 392.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.5435, allocations: 36.11 kB / 392.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/0.5442, allocations: 85.62 kB / 392.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.5443, allocations: 9.203 kB / 392.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/0.5474, allocations: 1.755 MB / 394.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5475, allocations: 0 / 394.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.5486, allocations: 372.3 kB / 394.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5487, allocations: 98.98 kB / 394.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.5487, allocations: 5.484 kB / 394.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.549, allocations: 17.2 kB / 394.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.5491, allocations: 11.14 kB / 394.6 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.5491, allocations: 9.391 kB / 394.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.5493, allocations: 154 kB / 394.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5493, allocations: 0 / 394.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005911/0.5499, allocations: 73.38 kB / 394.9 MB, free: 8.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000225/0.5502, allocations: 103.3 kB / 395 MB, free: 8.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008942/0.5511, allocations: 257.6 kB / 395.2 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5511, allocations: 0 / 395.2 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.5516, allocations: 182.5 kB / 395.4 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.5522, allocations: 32.33 kB / 395.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.5542, allocations: 0.5944 MB / 396 MB, free: 7.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.5544, allocations: 0.7542 MB / 396.8 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.5545, allocations: 19.09 kB / 396.8 MB, free: 7.082 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5546, allocations: 0 / 396.8 MB, free: 7.082 MB / 314.7 MB Notification: Performance of Templates: time 0.006948/0.5615, allocations: 3.237 MB / 400 MB, free: 6.914 MB / 314.7 MB