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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 11.94 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1216, allocations: 44.5 MB / 308.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.5304, allocations: 73.11 MB / 381.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.5308, allocations: 79.28 kB / 381.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.546, allocations: 3.633 MB / 385.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.546, allocations: 1.094 kB / 385.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.5461, allocations: 3.906 kB / 385.4 MB, free: 13.89 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.0008849/0.5469, allocations: 0.5012 MB / 385.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.547, allocations: 13.22 kB / 385.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.5471, allocations: 60 kB / 385.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.5472, allocations: 32.12 kB / 386 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.5475, allocations: 244.3 kB / 386.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5476, allocations: 15.06 kB / 386.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.5476, allocations: 21.34 kB / 386.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.5481, allocations: 196.3 kB / 386.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5481, allocations: 0 / 386.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.5482, allocations: 14.28 kB / 386.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5482, allocations: 5 kB / 386.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.5486, allocations: 154.6 kB / 386.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.5506, allocations: 0.9156 MB / 387.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.5512, allocations: 173.7 kB / 387.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.5512, allocations: 1.344 kB / 387.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.5512, allocations: 33.19 kB / 387.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.544e-06/0.5513, allocations: 0 / 387.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002065/0.5533, allocations: 432.9 kB / 388.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.5534, allocations: 52.72 kB / 388.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.5537, allocations: 194.9 kB / 388.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.5537, allocations: 34.48 kB / 388.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.5538, allocations: 227 kB / 388.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.5539, allocations: 47.69 kB / 388.7 MB, free: 12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.5539, allocations: 3.5 kB / 388.7 MB, free: 12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.554, allocations: 320.2 kB / 389 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.5541, allocations: 42.83 kB / 389.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.5543, allocations: 111 kB / 389.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.5545, allocations: 58.81 kB / 389.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5545, allocations: 0 / 389.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009857/0.5555, allocations: 274.9 kB / 389.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5555, allocations: 6.344 kB / 389.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5555, allocations: 1.281 kB / 389.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007659/0.5563, allocations: 95.06 kB / 389.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.5566, allocations: 41.16 kB / 389.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.5599, allocations: 1.774 MB / 391.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.5602, allocations: 23.22 kB / 391.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.5602, allocations: 11.38 kB / 391.4 MB, free: 10.12 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.0001625/0.5604, allocations: 132.2 kB / 391.6 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.5605, allocations: 19.44 kB / 391.6 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.5605, allocations: 22.44 kB / 391.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5605, allocations: 4.062 kB / 391.6 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5606, allocations: 4 kB / 391.6 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5606, allocations: 5.344 kB / 391.6 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.5609, allocations: 274 kB / 391.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5609, allocations: 0 / 391.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.5612, allocations: 23.33 kB / 391.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007085/0.5619, allocations: 99.3 kB / 392 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.5619, allocations: 3.938 kB / 392 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.565, allocations: 1.76 MB / 393.8 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.565, allocations: 0 / 393.8 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.566, allocations: 369.8 kB / 394.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.5661, allocations: 99.09 kB / 394.2 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.5662, allocations: 8 kB / 394.2 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.5664, allocations: 16.52 kB / 394.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.5665, allocations: 12.83 kB / 394.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.5665, allocations: 3.875 kB / 394.3 MB, free: 8.098 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.5667, allocations: 151.3 kB / 394.4 MB, free: 8.023 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5667, allocations: 3.875 kB / 394.4 MB, free: 8.023 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005822/0.5673, allocations: 71.97 kB / 394.5 MB, free: 8.012 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.001228/0.5686, allocations: 0.9129 MB / 395.4 MB, free: 7.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.5692, allocations: 248.2 kB / 395.6 MB, free: 7.199 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.5692, allocations: 1.828 kB / 395.6 MB, free: 7.199 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.5695, allocations: 192.7 kB / 395.8 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.5699, allocations: 26.31 kB / 395.9 MB, free: 7.074 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.573, allocations: 2.266 MB / 398.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.5735, allocations: 0.7458 MB / 398.9 MB, free: 20.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.5737, allocations: 64.84 kB / 398.9 MB, free: 20.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5737, allocations: 0 / 398.9 MB, free: 20.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.634/3.208, allocations: 4.16 MB / 403.1 MB, free: 20.53 MB / 330.7 MB