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.HeatingResistor.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.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadModel(Modelica): time 0.9621/0.9621, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003177, allocations: 4 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04566/0.04602, allocations: 25.17 MB / 183.4 MB, free: 6.016 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.002515/0.04858, allocations: 1.598 MB / 185 MB, free: 4.414 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.04947, allocations: 411.8 kB / 185.4 MB, free: 4.012 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.04958, allocations: 0 / 185.4 MB, free: 4.012 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.04965, allocations: 15.91 kB / 185.4 MB, free: 3.996 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.04981, allocations: 55.81 kB / 185.5 MB, free: 3.941 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.05001, allocations: 31.97 kB / 185.5 MB, free: 3.91 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.05023, allocations: 119.8 kB / 185.6 MB, free: 3.793 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.05039, allocations: 41.42 kB / 185.7 MB, free: 3.75 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.05054, allocations: 63.77 kB / 185.7 MB, free: 3.688 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.05067, allocations: 55.72 kB / 185.8 MB, free: 3.633 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.05071, allocations: 4 kB / 185.8 MB, free: 3.629 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.769e-05/0.0508, allocations: 15.98 kB / 185.8 MB, free: 3.613 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.05084, allocations: 23.91 kB / 185.8 MB, free: 3.59 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.05092, allocations: 53.64 kB / 185.9 MB, free: 3.531 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.05113, allocations: 127.8 kB / 186 MB, free: 3.406 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.119e-06/0.05115, allocations: 0 / 186 MB, free: 3.406 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.05116, allocations: 0 / 186 MB, free: 3.406 MB / 154.7 MB Notification: Performance of Transformations before backend: time 6.07e-06/0.05117, allocations: 0 / 186 MB, free: 3.406 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006501/0.05183, allocations: 419.1 kB / 186.4 MB, free: 2.945 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.05188, allocations: 8.031 kB / 186.4 MB, free: 2.938 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.05195, allocations: 19.81 kB / 186.5 MB, free: 2.918 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.05224, allocations: 198.9 kB / 186.6 MB, free: 2.684 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.05228, allocations: 8.234 kB / 186.7 MB, free: 2.676 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.05232, allocations: 11.94 kB / 186.7 MB, free: 2.664 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.05267, allocations: 127.5 kB / 186.8 MB, free: 2.535 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.05269, allocations: 0 / 186.8 MB, free: 2.535 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.05273, allocations: 11.89 kB / 186.8 MB, free: 2.523 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.335e-06/0.05275, allocations: 4 kB / 186.8 MB, free: 2.52 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.05302, allocations: 80.67 kB / 186.9 MB, free: 2.441 MB / 154.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.05426, allocations: 0.6598 MB / 187.5 MB, free: 1.691 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.05464, allocations: 90.61 kB / 187.6 MB, free: 1.594 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.05467, allocations: 0 / 187.6 MB, free: 1.594 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.05472, allocations: 34.56 kB / 187.7 MB, free: 1.551 MB / 154.7 MB Notification: Performance of pre-optimization done (n=6): time 2.225e-06/0.05473, allocations: 0 / 187.7 MB, free: 1.551 MB / 154.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008775/0.05562, allocations: 263.5 kB / 187.9 MB, free: 1.266 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.05568, allocations: 55.41 kB / 188 MB, free: 1.199 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.05588, allocations: 150.6 kB / 188.1 MB, free: 1.043 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.05592, allocations: 25.7 kB / 188.1 MB, free: 1.012 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.05606, allocations: 194.1 kB / 188.3 MB, free: 0.8203 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.0561, allocations: 15.75 kB / 188.4 MB, free: 0.8047 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-06/0.05612, allocations: 4 kB / 188.4 MB, free: 0.8008 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.05629, allocations: 322.7 kB / 188.7 MB, free: 488 kB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.82e-05/0.0564, allocations: 27.92 kB / 188.7 MB, free: 460 kB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.05653, allocations: 42.56 kB / 188.7 MB, free: 408 kB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.05666, allocations: 31.98 kB / 188.8 MB, free: 376 kB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-06/0.05668, allocations: 0 / 188.8 MB, free: 376 kB / 154.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004152/0.0571, allocations: 142.3 kB / 188.9 MB, free: 224 kB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.05714, allocations: 7.938 kB / 188.9 MB, free: 216 kB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.75e-06/0.05716, allocations: 3.984 kB / 188.9 MB, free: 212 kB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.0574, allocations: 36.84 kB / 189 MB, free: 172 kB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.05751, allocations: 11.98 kB / 189 MB, free: 160 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.05972, allocations: 1.58 MB / 190.6 MB, free: 14.43 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.05987, allocations: 12.09 kB / 190.6 MB, free: 14.42 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.05989, allocations: 0 / 190.6 MB, free: 14.42 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 (5): * Single equations (assignments): 4 * 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.0001521/0.06006, allocations: 130 kB / 190.7 MB, free: 14.28 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.06013, allocations: 15.84 kB / 190.7 MB, free: 14.27 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.06018, allocations: 20.66 kB / 190.7 MB, free: 14.24 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-06/0.06019, allocations: 0 / 190.7 MB, free: 14.24 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.0602, allocations: 0 / 190.7 MB, free: 14.24 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-06/0.06021, allocations: 0 / 190.7 MB, free: 14.24 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.06055, allocations: 217.5 kB / 190.9 MB, free: 13.98 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-06/0.06058, allocations: 0 / 190.9 MB, free: 13.98 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.06064, allocations: 7.984 kB / 190.9 MB, free: 13.97 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/0.06085, allocations: 28.84 kB / 191 MB, free: 13.94 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.06088, allocations: 7.953 kB / 191 MB, free: 13.93 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.0628, allocations: 1.572 MB / 192.6 MB, free: 12.21 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.418e-06/0.06284, allocations: 0 / 192.6 MB, free: 12.21 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.06329, allocations: 216.2 kB / 192.8 MB, free: 11.98 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.06341, allocations: 93 kB / 192.9 MB, free: 11.87 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.06344, allocations: 4 kB / 192.9 MB, free: 11.87 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.0636, allocations: 12.06 kB / 192.9 MB, free: 11.86 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.06367, allocations: 7.984 kB / 192.9 MB, free: 11.85 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.06369, allocations: 3.953 kB / 192.9 MB, free: 11.84 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.06382, allocations: 118.8 kB / 193 MB, free: 11.73 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.06384, allocations: 0 / 193 MB, free: 11.73 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000524/0.06437, allocations: 43.84 kB / 193 MB, free: 11.69 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 (2): * Single equations (assignments): 1 * 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.0001883/0.06457, allocations: 115.2 kB / 193.2 MB, free: 11.57 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.000501/0.06509, allocations: 194.5 kB / 193.3 MB, free: 11.36 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.079e-06/0.06511, allocations: 0 / 193.3 MB, free: 11.36 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.06541, allocations: 154.8 kB / 193.5 MB, free: 11.2 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.06574, allocations: 25.39 kB / 193.5 MB, free: 11.18 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.06643, allocations: 376 kB / 193.9 MB, free: 10.78 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.06686, allocations: 0.7082 MB / 194.6 MB, free: 10.04 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.06691, allocations: 15.44 kB / 194.6 MB, free: 10.03 MB / 170.7 MB Notification: Performance of SimCode: time 1.436e-06/0.06692, allocations: 0 / 194.6 MB, free: 10.03 MB / 170.7 MB Notification: Performance of Templates: time 0.004625/0.07156, allocations: 1.922 MB / 196.5 MB, free: 8.102 MB / 170.7 MB