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.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadModel(Modelica): time 1.118/1.118, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003807, allocations: 8 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06953/0.06994, allocations: 25.16 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2969/0.3669, allocations: 35.37 MB / 219.4 MB, free: 6.301 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/0.3673, allocations: 66.69 kB / 219.5 MB, free: 6.293 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03282/0.4001, allocations: 5.954 MB / 225.4 MB, free: 3.965 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4002, allocations: 0 / 225.4 MB, free: 3.965 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.342e-05/0.4002, allocations: 7.688 kB / 225.4 MB, free: 3.965 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001817/0.4021, allocations: 0.6651 MB / 226.1 MB, free: 3.43 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.4021, allocations: 7.781 kB / 226.1 MB, free: 3.43 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.4023, allocations: 50.91 kB / 226.2 MB, free: 3.402 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.403, allocations: 298.6 kB / 226.4 MB, free: 3.141 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.403, allocations: 27.73 kB / 226.5 MB, free: 3.141 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.4032, allocations: 37.42 kB / 226.5 MB, free: 3.133 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4045, allocations: 357.6 kB / 226.9 MB, free: 3.004 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.4046, allocations: 0 / 226.9 MB, free: 3.004 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.4047, allocations: 11.5 kB / 226.9 MB, free: 3.004 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4047, allocations: 7.688 kB / 226.9 MB, free: 3.004 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.406, allocations: 284 kB / 227.2 MB, free: 2.957 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004068/0.4101, allocations: 1.436 MB / 228.6 MB, free: 1.965 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.4111, allocations: 229.5 kB / 228.8 MB, free: 1.91 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.4112, allocations: 0 / 228.8 MB, free: 1.91 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.4112, allocations: 45.78 kB / 228.9 MB, free: 1.863 MB / 170.7 MB Notification: Performance of pre-optimization done (n=24): time 2.525e-06/0.4112, allocations: 0 / 228.9 MB, free: 1.863 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.003307/0.4145, allocations: 0.7146 MB / 229.6 MB, free: 1.422 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4146, allocations: 58.03 kB / 229.6 MB, free: 1.355 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage3.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:361:5-361:68:writable] Warning: Parameter SineVoltage2.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: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/Ideal.mo:1014:11-1015:34:writable] Warning: Parameter With_Ron_Goff.Vknee has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Ideal.mo:1014:11-1015:34:writable] Warning: Parameter Ideal.Vknee has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.4155, allocations: 319.5 kB / 229.9 MB, free: 1.203 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.4155, allocations: 29.64 kB / 230 MB, free: 1.172 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.4157, allocations: 260 kB / 230.2 MB, free: 0.9688 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4158, allocations: 77.06 kB / 230.3 MB, free: 0.9141 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.4159, allocations: 11.5 kB / 230.3 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.416, allocations: 318.7 kB / 230.6 MB, free: 0.5938 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.4165, allocations: 87.03 kB / 230.7 MB, free: 0.582 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.417, allocations: 126.3 kB / 230.8 MB, free: 0.5273 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.4175, allocations: 95.73 kB / 230.9 MB, free: 0.5117 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4175, allocations: 0 / 230.9 MB, free: 0.5117 MB / 170.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001702/0.4192, allocations: 350.6 kB / 231.3 MB, free: 404 kB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.4193, allocations: 9.438 kB / 231.3 MB, free: 400 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4193, allocations: 4 kB / 231.3 MB, free: 396 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/0.4201, allocations: 113.4 kB / 231.4 MB, free: 300 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.4205, allocations: 31.98 kB / 231.4 MB, free: 268 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007099/0.4277, allocations: 4.485 MB / 235.9 MB, free: 11.68 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006291/0.4284, allocations: 31.42 kB / 235.9 MB, free: 11.65 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.4284, allocations: 7.938 kB / 235.9 MB, free: 11.64 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.4288, allocations: 146.7 kB / 236.1 MB, free: 11.51 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.429, allocations: 31.62 kB / 236.1 MB, free: 11.48 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.4291, allocations: 42.7 kB / 236.2 MB, free: 11.46 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.4291, allocations: 4 kB / 236.2 MB, free: 11.46 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4291, allocations: 0 / 236.2 MB, free: 11.46 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4292, allocations: 7.922 kB / 236.2 MB, free: 11.45 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.43, allocations: 379.1 kB / 236.5 MB, free: 11.11 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.4301, allocations: 4 kB / 236.5 MB, free: 11.1 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.4304, allocations: 27.97 kB / 236.6 MB, free: 11.07 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/0.4313, allocations: 115.2 kB / 236.7 MB, free: 10.98 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.4313, allocations: 3.75 kB / 236.7 MB, free: 10.98 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007109/0.4385, allocations: 4.467 MB / 241.2 MB, free: 6.418 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4385, allocations: 4.125 kB / 241.2 MB, free: 6.414 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4401, allocations: 414.9 kB / 241.6 MB, free: 6.059 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.4404, allocations: 135.6 kB / 241.7 MB, free: 5.918 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4406, allocations: 3.625 kB / 241.7 MB, free: 5.918 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/0.4412, allocations: 27.98 kB / 241.7 MB, free: 5.895 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.4414, allocations: 23.78 kB / 241.8 MB, free: 5.875 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.4415, allocations: 15.98 kB / 241.8 MB, free: 5.859 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004964/0.442, allocations: 222.1 kB / 242 MB, free: 5.684 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.442, allocations: 0 / 242 MB, free: 5.684 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001663/0.4437, allocations: 118.2 kB / 242.1 MB, free: 5.578 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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.444, allocations: 106.8 kB / 242.2 MB, free: 5.469 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.446, allocations: 0.5768 MB / 242.8 MB, free: 4.926 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/0.4461, allocations: 0 / 242.8 MB, free: 4.926 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.4473, allocations: 493 kB / 243.3 MB, free: 4.453 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.4486, allocations: 90.12 kB / 243.3 MB, free: 4.387 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.4511, allocations: 0.7844 MB / 244.1 MB, free: 3.613 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.4519, allocations: 0.8028 MB / 244.9 MB, free: 2.785 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.4521, allocations: 27 kB / 245 MB, free: 2.762 MB / 186.7 MB Notification: Performance of SimCode: time 1.182e-06/0.4521, allocations: 0 / 245 MB, free: 2.762 MB / 186.7 MB Notification: Performance of Templates: time 0.01682/0.4689, allocations: 8.027 MB / 253 MB, free: 10.78 MB / 202.7 MB