Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 1.102/1.102, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003796, allocations: 8 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0685/0.06891, allocations: 25.17 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2855/0.3545, allocations: 35.53 MB / 219.6 MB, free: 6.25 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.3548, allocations: 63.88 kB / 219.6 MB, free: 6.242 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02201/0.3769, allocations: 4.91 MB / 224.5 MB, free: 4.309 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3769, allocations: 0 / 224.5 MB, free: 4.309 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.377, allocations: 7.641 kB / 224.6 MB, free: 4.309 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001272/0.3782, allocations: 0.5997 MB / 225.2 MB, free: 3.812 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3783, allocations: 7.438 kB / 225.2 MB, free: 3.812 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3784, allocations: 38.38 kB / 225.2 MB, free: 3.793 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.3788, allocations: 268.9 kB / 225.5 MB, free: 3.547 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.3789, allocations: 20.62 kB / 225.5 MB, free: 3.547 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.3789, allocations: 28.88 kB / 225.5 MB, free: 3.543 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/0.3797, allocations: 261.2 kB / 225.8 MB, free: 3.465 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.3798, allocations: 0 / 225.8 MB, free: 3.465 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.3798, allocations: 12.83 kB / 225.8 MB, free: 3.465 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3799, allocations: 15.52 kB / 225.8 MB, free: 3.457 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.3807, allocations: 223.2 kB / 226 MB, free: 3.422 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.3832, allocations: 0.9872 MB / 227 MB, free: 2.828 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.384, allocations: 222.7 kB / 227.2 MB, free: 2.777 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.3841, allocations: 8.031 kB / 227.2 MB, free: 2.773 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3841, allocations: 36.75 kB / 227.3 MB, free: 2.734 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 2.886e-06/0.3841, allocations: 0 / 227.3 MB, free: 2.734 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.002018/0.3862, allocations: 0.5846 MB / 227.8 MB, free: 2.402 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3862, allocations: 63.22 kB / 227.9 MB, free: 2.332 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Blocks/Sources.mo:442:9-443:26:writable] Warning: Parameter Ramp1.duration has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:359:5-359:61:writable] Warning: Parameter SineVoltage1.V has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R5.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R4.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R3.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R2.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R1.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.3867, allocations: 271.5 kB / 228.2 MB, free: 2.188 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.3868, allocations: 25.7 kB / 228.2 MB, free: 2.156 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.3869, allocations: 237.2 kB / 228.4 MB, free: 1.961 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.3869, allocations: 75.83 kB / 228.5 MB, free: 1.906 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.387, allocations: 9.406 kB / 228.5 MB, free: 1.906 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.3871, allocations: 317.5 kB / 228.8 MB, free: 1.59 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.3874, allocations: 88.58 kB / 228.9 MB, free: 1.57 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.3878, allocations: 112.1 kB / 229 MB, free: 1.531 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.3881, allocations: 91.5 kB / 229.1 MB, free: 1.52 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3881, allocations: 0 / 229.1 MB, free: 1.52 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001027/0.3892, allocations: 324.7 kB / 229.4 MB, free: 1.414 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3892, allocations: 4.344 kB / 229.4 MB, free: 1.414 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3893, allocations: 3.875 kB / 229.4 MB, free: 1.414 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.3898, allocations: 79.03 kB / 229.5 MB, free: 1.375 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.3904, allocations: 46.28 kB / 229.6 MB, free: 1.363 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.3951, allocations: 2.862 MB / 232.4 MB, free: 14.72 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.3958, allocations: 31.09 kB / 232.4 MB, free: 14.71 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.3958, allocations: 9.891 kB / 232.5 MB, free: 14.7 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 18 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003628/0.3962, allocations: 143 kB / 232.6 MB, free: 14.58 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.3964, allocations: 25.06 kB / 232.6 MB, free: 14.57 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.3965, allocations: 32.97 kB / 232.7 MB, free: 14.56 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.3966, allocations: 1.344 kB / 232.7 MB, free: 14.56 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.3966, allocations: 2.531 kB / 232.7 MB, free: 14.56 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3966, allocations: 0 / 232.7 MB, free: 14.56 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/0.3976, allocations: 338.6 kB / 233 MB, free: 14.31 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3976, allocations: 0 / 233 MB, free: 14.31 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.3981, allocations: 32.39 kB / 233 MB, free: 14.3 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/0.3987, allocations: 75.59 kB / 233.1 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.3988, allocations: 3.25 kB / 233.1 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/0.4037, allocations: 2.849 MB / 235.9 MB, free: 11.32 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4038, allocations: 0 / 235.9 MB, free: 11.32 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.4055, allocations: 395.2 kB / 236.3 MB, free: 10.98 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.4059, allocations: 119.5 kB / 236.4 MB, free: 10.85 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.406, allocations: 3.312 kB / 236.4 MB, free: 10.85 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.4067, allocations: 43.3 kB / 236.5 MB, free: 10.81 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4069, allocations: 19.22 kB / 236.5 MB, free: 10.79 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.407, allocations: 8.375 kB / 236.5 MB, free: 10.79 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004466/0.4074, allocations: 190.8 kB / 236.7 MB, free: 10.64 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.608e-06/0.4075, allocations: 0 / 236.7 MB, free: 10.64 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0009604/0.4084, allocations: 99.78 kB / 236.8 MB, free: 10.55 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 11 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002394/0.4087, allocations: 102.8 kB / 236.9 MB, free: 10.45 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.4107, allocations: 461.9 kB / 237.4 MB, free: 10.03 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.4107, allocations: 4.062 kB / 237.4 MB, free: 10.03 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.4119, allocations: 366.3 kB / 237.7 MB, free: 9.684 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.4135, allocations: 87.47 kB / 237.8 MB, free: 9.613 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.4158, allocations: 0.6383 MB / 238.4 MB, free: 8.992 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.4165, allocations: 0.7755 MB / 239.2 MB, free: 8.191 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.4167, allocations: 19.44 kB / 239.2 MB, free: 8.172 MB / 186.7 MB Notification: Performance of SimCode: time 1.774e-06/0.4167, allocations: 0 / 239.2 MB, free: 8.172 MB / 186.7 MB Notification: Performance of Templates: time 0.01948/0.4362, allocations: 5.511 MB / 244.7 MB, free: 2.707 MB / 186.7 MB