Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9652/0.9652, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002831, allocations: 8 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04559/0.0459, allocations: 25.18 MB / 183.4 MB, free: 6.008 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003564/0.0495, allocations: 2.315 MB / 185.7 MB, free: 3.688 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.0508, allocations: 0.6124 MB / 186.4 MB, free: 3.074 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.05099, allocations: 4 kB / 186.4 MB, free: 3.07 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 8.824e-05/0.05109, allocations: 35.69 kB / 186.4 MB, free: 3.035 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.05144, allocations: 151.6 kB / 186.5 MB, free: 2.887 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.0517, allocations: 59.92 kB / 186.6 MB, free: 2.828 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.05215, allocations: 287.4 kB / 186.9 MB, free: 2.547 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.05238, allocations: 82 kB / 187 MB, free: 2.469 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.05263, allocations: 127.6 kB / 187.1 MB, free: 2.344 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.05286, allocations: 147.4 kB / 187.2 MB, free: 2.199 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.05293, allocations: 16 kB / 187.2 MB, free: 2.184 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.053, allocations: 16 kB / 187.3 MB, free: 2.168 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.05309, allocations: 59.75 kB / 187.3 MB, free: 2.109 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.0532, allocations: 89.52 kB / 187.4 MB, free: 2.016 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.05357, allocations: 275.5 kB / 187.7 MB, free: 1.746 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.512e-06/0.05359, allocations: 0 / 187.7 MB, free: 1.746 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.0536, allocations: 0 / 187.7 MB, free: 1.746 MB / 154.7 MB Notification: Performance of Transformations before backend: time 7.983e-06/0.05362, allocations: 0 / 187.7 MB, free: 1.746 MB / 154.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.001072/0.0547, allocations: 0.5963 MB / 188.3 MB, free: 1.102 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.05476, allocations: 12.03 kB / 188.3 MB, free: 1.09 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.002e-05/0.05486, allocations: 35.53 kB / 188.3 MB, free: 1.055 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.05529, allocations: 267.9 kB / 188.6 MB, free: 0.7539 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.05534, allocations: 20.56 kB / 188.6 MB, free: 0.7344 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.0554, allocations: 24 kB / 188.6 MB, free: 0.7109 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.05609, allocations: 264.9 kB / 188.9 MB, free: 452 kB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.05612, allocations: 0 / 188.9 MB, free: 452 kB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.05617, allocations: 15.94 kB / 188.9 MB, free: 436 kB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.0562, allocations: 7.953 kB / 188.9 MB, free: 428 kB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.05689, allocations: 230.1 kB / 189.1 MB, free: 200 kB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.05909, allocations: 0.9914 MB / 190.1 MB, free: 15.13 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.05982, allocations: 314.9 kB / 190.4 MB, free: 14.8 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.05986, allocations: 192 / 190.4 MB, free: 14.8 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.05991, allocations: 38.75 kB / 190.5 MB, free: 14.75 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 2.334e-06/0.05993, allocations: 0 / 190.5 MB, free: 14.75 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.001656/0.06159, allocations: 0.5836 MB / 191 MB, free: 14.12 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.06166, allocations: 51.41 kB / 191.1 MB, free: 14.06 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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.0004942/0.06217, allocations: 274.5 kB / 191.4 MB, free: 13.78 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.06223, allocations: 29.7 kB / 191.4 MB, free: 13.74 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.06241, allocations: 246.5 kB / 191.6 MB, free: 13.5 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.0625, allocations: 70.92 kB / 191.7 MB, free: 13.43 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.06253, allocations: 4 kB / 191.7 MB, free: 13.43 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.06271, allocations: 326.8 kB / 192 MB, free: 13.1 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.063, allocations: 76.42 kB / 192.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.06332, allocations: 123.4 kB / 192.2 MB, free: 12.89 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.06363, allocations: 87.92 kB / 192.3 MB, free: 12.8 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-06/0.06365, allocations: 0 / 192.3 MB, free: 12.8 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009155/0.06457, allocations: 326.9 kB / 192.6 MB, free: 12.47 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.06461, allocations: 4.062 kB / 192.6 MB, free: 12.47 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.939e-06/0.06463, allocations: 8 kB / 192.6 MB, free: 12.46 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.06499, allocations: 73.61 kB / 192.7 MB, free: 12.38 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.06526, allocations: 39.92 kB / 192.8 MB, free: 12.34 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.06855, allocations: 2.866 MB / 195.6 MB, free: 9.215 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.06884, allocations: 31.8 kB / 195.6 MB, free: 9.184 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.06888, allocations: 8 kB / 195.7 MB, free: 9.176 MB / 170.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.0002213/0.06912, allocations: 149.8 kB / 195.8 MB, free: 9.02 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.06921, allocations: 23.72 kB / 195.8 MB, free: 8.996 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.06929, allocations: 30.12 kB / 195.9 MB, free: 8.965 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.05e-06/0.06931, allocations: 4 kB / 195.9 MB, free: 8.961 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.06932, allocations: 0 / 195.9 MB, free: 8.961 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-06/0.06934, allocations: 0 / 195.9 MB, free: 8.961 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.07079, allocations: 0.7057 MB / 196.6 MB, free: 8.195 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.935e-06/0.07082, allocations: 3.953 kB / 196.6 MB, free: 8.191 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.07101, allocations: 31.97 kB / 196.6 MB, free: 8.16 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/0.07131, allocations: 69.67 kB / 196.7 MB, free: 8.086 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.07135, allocations: 4 kB / 196.7 MB, free: 8.082 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/0.07454, allocations: 2.85 MB / 199.5 MB, free: 4.965 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-06/0.07457, allocations: 3.938 kB / 199.5 MB, free: 4.961 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.07548, allocations: 400.7 kB / 199.9 MB, free: 4.543 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.07567, allocations: 116.8 kB / 200 MB, free: 4.41 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.07573, allocations: 7.984 kB / 200 MB, free: 4.402 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.07605, allocations: 35.98 kB / 200.1 MB, free: 4.367 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.07615, allocations: 19.97 kB / 200.1 MB, free: 4.348 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.07619, allocations: 8 kB / 200.1 MB, free: 4.34 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002681/0.07647, allocations: 186 kB / 200.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.07649, allocations: 3.938 kB / 200.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005281/0.07702, allocations: 91.84 kB / 200.4 MB, free: 4.07 MB / 170.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.0001576/0.07719, allocations: 113.9 kB / 200.5 MB, free: 3.953 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.07821, allocations: 465.1 kB / 200.9 MB, free: 3.473 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.07824, allocations: 0 / 200.9 MB, free: 3.473 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.07885, allocations: 360.1 kB / 201.3 MB, free: 3.098 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.07949, allocations: 80.48 kB / 201.4 MB, free: 3.02 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.08069, allocations: 0.6285 MB / 202 MB, free: 2.359 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.0812, allocations: 0.7755 MB / 202.8 MB, free: 1.559 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.0813, allocations: 23.42 kB / 202.8 MB, free: 1.535 MB / 170.7 MB Notification: Performance of SimCode: time 1.656e-06/0.08131, allocations: 0 / 202.8 MB, free: 1.535 MB / 170.7 MB Notification: Performance of Templates: time 0.1225/0.2038, allocations: 5.475 MB / 208.3 MB, free: 22.58 MB / 170.7 MB