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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.022/1.022, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002604, allocations: 8 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06008/0.06038, allocations: 25.17 MB / 183.6 MB, free: 5.883 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.2858, allocations: 35.37 MB / 219 MB, free: 6.32 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.2861, allocations: 67.14 kB / 219 MB, free: 6.312 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02325/0.3093, allocations: 5.95 MB / 225 MB, free: 3.988 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3094, allocations: 0 / 225 MB, free: 3.988 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.3094, allocations: 11.33 kB / 225 MB, free: 3.988 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.001269/0.3107, allocations: 0.6683 MB / 225.7 MB, free: 3.449 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3108, allocations: 11.69 kB / 225.7 MB, free: 3.445 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.421e-05/0.3109, allocations: 71.59 kB / 225.7 MB, free: 3.398 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.311, allocations: 46.66 kB / 225.8 MB, free: 3.375 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.3114, allocations: 305.9 kB / 226.1 MB, free: 3.113 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.3114, allocations: 19.53 kB / 226.1 MB, free: 3.113 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.3115, allocations: 34.11 kB / 226.1 MB, free: 3.109 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/0.3124, allocations: 362.3 kB / 226.5 MB, free: 2.977 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3124, allocations: 0 / 226.5 MB, free: 2.977 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.3125, allocations: 13.94 kB / 226.5 MB, free: 2.977 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3125, allocations: 7.719 kB / 226.5 MB, free: 2.977 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/0.3134, allocations: 280 kB / 226.8 MB, free: 2.93 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.316, allocations: 1.436 MB / 228.2 MB, free: 1.934 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.3166, allocations: 228 kB / 228.4 MB, free: 1.883 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3167, allocations: 3.906 kB / 228.4 MB, free: 1.883 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3167, allocations: 30.56 kB / 228.5 MB, free: 1.844 MB / 170.7 MB Notification: Performance of pre-optimization done (n=24): time 3.506e-06/0.3167, allocations: 0 / 228.5 MB, free: 1.844 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.002235/0.319, allocations: 0.7241 MB / 229.2 MB, free: 1.395 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.319, allocations: 54.09 kB / 229.3 MB, free: 1.332 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.0005273/0.3196, allocations: 285.7 kB / 229.5 MB, free: 1.195 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.3196, allocations: 32.14 kB / 229.6 MB, free: 1.164 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3197, allocations: 256.6 kB / 229.8 MB, free: 0.9648 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.3198, allocations: 78.42 kB / 229.9 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3199, allocations: 4.688 kB / 229.9 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.3199, allocations: 324.8 kB / 230.2 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.3203, allocations: 79.78 kB / 230.3 MB, free: 0.582 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.3206, allocations: 127.6 kB / 230.4 MB, free: 0.5234 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.321, allocations: 93.67 kB / 230.5 MB, free: 0.5117 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.321, allocations: 0 / 230.5 MB, free: 0.5117 MB / 170.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001159/0.3222, allocations: 356.8 kB / 230.9 MB, free: 284 kB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3222, allocations: 8 kB / 230.9 MB, free: 276 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3222, allocations: 7.984 kB / 230.9 MB, free: 268 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.3229, allocations: 117.4 kB / 231 MB, free: 168 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.3232, allocations: 35.91 kB / 231 MB, free: 132 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/0.3286, allocations: 4.478 MB / 235.5 MB, free: 11.55 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.3291, allocations: 27.73 kB / 235.5 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.3292, allocations: 11.62 kB / 235.5 MB, free: 11.52 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.0002821/0.3295, allocations: 149.4 kB / 235.7 MB, free: 11.38 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.3296, allocations: 35.69 kB / 235.7 MB, free: 11.34 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.412e-05/0.3297, allocations: 37.98 kB / 235.8 MB, free: 11.32 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3297, allocations: 7.938 kB / 235.8 MB, free: 11.32 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3297, allocations: 0 / 235.8 MB, free: 11.32 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3297, allocations: 3.984 kB / 235.8 MB, free: 11.31 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.3303, allocations: 381 kB / 236.1 MB, free: 10.97 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3304, allocations: 0 / 236.1 MB, free: 10.97 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.3306, allocations: 28.09 kB / 236.2 MB, free: 10.94 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005609/0.3312, allocations: 117.9 kB / 236.3 MB, free: 10.84 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3312, allocations: 3.938 kB / 236.3 MB, free: 10.84 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/0.3366, allocations: 4.475 MB / 240.8 MB, free: 6.277 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3366, allocations: 3.984 kB / 240.8 MB, free: 6.273 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3377, allocations: 410.7 kB / 241.2 MB, free: 5.922 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.338, allocations: 136.2 kB / 241.3 MB, free: 5.781 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.338, allocations: 3.938 kB / 241.3 MB, free: 5.781 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.3385, allocations: 23.73 kB / 241.3 MB, free: 5.762 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.3386, allocations: 27.91 kB / 241.4 MB, free: 5.738 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.3387, allocations: 7.984 kB / 241.4 MB, free: 5.73 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003521/0.339, allocations: 219.8 kB / 241.6 MB, free: 5.555 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.339, allocations: 0 / 241.6 MB, free: 5.555 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0009553/0.34, allocations: 119.4 kB / 241.7 MB, free: 5.449 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.001394/0.3414, allocations: 0.9499 MB / 242.6 MB, free: 4.539 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.3428, allocations: 0.5915 MB / 243.2 MB, free: 3.984 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.3428, allocations: 0 / 243.2 MB, free: 3.984 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.3436, allocations: 479.9 kB / 243.7 MB, free: 3.523 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.3446, allocations: 87.61 kB / 243.8 MB, free: 3.457 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.3472, allocations: 1.664 MB / 245.5 MB, free: 1.785 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.3477, allocations: 0.8067 MB / 246.3 MB, free: 0.9492 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.348, allocations: 110.2 kB / 246.4 MB, free: 0.9219 MB / 186.7 MB Notification: Performance of SimCode: time 1.413e-06/0.348, allocations: 0 / 246.4 MB, free: 0.9219 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.662/3.01, allocations: 9.528 MB / 255.9 MB, free: 7.457 MB / 202.7 MB