Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 194.9 MB / 211.1 MB, free: 7.496 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 8 kB / 264 MB, free: 2.426 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3038, allocations: 44.51 MB / 308.6 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002949/0.3068, allocations: 1.616 MB / 310.2 MB, free: 11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3082, allocations: 0.535 MB / 310.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.925e-05/0.3083, allocations: 4 kB / 310.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.191e-05/0.3084, allocations: 19.84 kB / 310.7 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.3086, allocations: 35.92 kB / 310.8 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.309, allocations: 75.77 kB / 310.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3092, allocations: 111.6 kB / 311 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.3094, allocations: 37.45 kB / 311 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3096, allocations: 67.77 kB / 311.1 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.3098, allocations: 63.75 kB / 311.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.3098, allocations: 8 kB / 311.1 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.3099, allocations: 8 kB / 311.1 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.3099, allocations: 23.91 kB / 311.2 MB, free: 10 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.31, allocations: 45.64 kB / 311.2 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3102, allocations: 112.7 kB / 311.3 MB, free: 9.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.3102, allocations: 0 / 311.3 MB, free: 9.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3103, allocations: 0 / 311.3 MB, free: 9.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3103, allocations: 0 / 311.3 MB, free: 9.84 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008795/0.3112, allocations: 438.8 kB / 311.7 MB, free: 9.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3112, allocations: 8.031 kB / 311.7 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.994e-05/0.3113, allocations: 38.56 kB / 311.8 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.3114, allocations: 15.81 kB / 311.8 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3116, allocations: 202.7 kB / 312 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.3117, allocations: 8 kB / 312 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.3117, allocations: 20 kB / 312 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.3121, allocations: 136.1 kB / 312.2 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.3121, allocations: 0 / 312.2 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.3122, allocations: 7.938 kB / 312.2 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3122, allocations: 4 kB / 312.2 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.3125, allocations: 75.95 kB / 312.2 MB, free: 8.793 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3138, allocations: 0.5069 MB / 312.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.3143, allocations: 86.61 kB / 312.8 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3143, allocations: 0 / 312.8 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3143, allocations: 30.56 kB / 312.9 MB, free: 8.098 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.3143, allocations: 0 / 312.9 MB, free: 8.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.001166/0.3155, allocations: 259.4 kB / 313.1 MB, free: 7.816 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.3156, allocations: 102.8 kB / 313.2 MB, free: 7.691 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3158, allocations: 158.1 kB / 313.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.3159, allocations: 33.7 kB / 313.4 MB, free: 7.488 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.316, allocations: 119.8 kB / 313.5 MB, free: 7.367 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.316, allocations: 31.78 kB / 313.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.3161, allocations: 0 / 313.6 MB, free: 7.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3162, allocations: 322.8 kB / 313.9 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3164, allocations: 39.92 kB / 313.9 MB, free: 6.973 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3166, allocations: 68.27 kB / 314 MB, free: 6.891 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3167, allocations: 32 kB / 314 MB, free: 6.859 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3168, allocations: 0 / 314 MB, free: 6.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003993/0.3172, allocations: 133.5 kB / 314.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3172, allocations: 8.062 kB / 314.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.3172, allocations: 4 kB / 314.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3172, allocations: 0 / 314.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.3192, allocations: 151.8 kB / 314.3 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.3215, allocations: 1.413 MB / 315.7 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.3218, allocations: 15.92 kB / 315.7 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3218, allocations: 8 kB / 315.7 MB, free: 4.988 MB / 250.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.322, allocations: 121.7 kB / 315.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.3221, allocations: 15.81 kB / 315.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.3228, allocations: 155.2 kB / 316 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3228, allocations: 0 / 316 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3228, allocations: 7.891 kB / 316 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3228, allocations: 3.984 kB / 316 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.3232, allocations: 225.6 kB / 316.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3232, allocations: 0 / 316.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.3234, allocations: 19.98 kB / 316.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004922/0.3239, allocations: 52.81 kB / 316.3 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3239, allocations: 0 / 316.3 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.3258, allocations: 1.379 MB / 317.7 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3259, allocations: 3.953 kB / 317.7 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.3267, allocations: 280.2 kB / 318 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.3268, allocations: 92.97 kB / 318.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.3269, allocations: 3.953 kB / 318.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.3271, allocations: 20.05 kB / 318.1 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3272, allocations: 7.984 kB / 318.1 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3272, allocations: 0 / 318.1 MB, free: 2.379 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3274, allocations: 119.2 kB / 318.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3274, allocations: 0 / 318.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.3278, allocations: 39.91 kB / 318.3 MB, free: 2.223 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (6): * Single equations (assignments): 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.3291, allocations: 0.8147 MB / 319.1 MB, free: 1.379 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3307, allocations: 167.9 kB / 319.2 MB, free: 1.215 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3308, allocations: 3.938 kB / 319.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.3312, allocations: 162.7 kB / 319.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3315, allocations: 14.8 kB / 319.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.333, allocations: 0.6878 MB / 320.1 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.3334, allocations: 0.7121 MB / 320.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.543e-05/0.3335, allocations: 8.562 kB / 320.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.843e-05/0.3336, allocations: 43.42 kB / 320.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3336, allocations: 0 / 320.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.364, allocations: 2.844 MB / 323.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/0.3644, allocations: 219.1 kB / 323.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/2.908, allocations: 4 kB / 323.9 MB, free: 12.46 MB / 266.7 MB "" Variables in the reference:time,Inductance1.i,SaturatingInductance1.Psi Variables in the result:Ground1.p.i,Ground1.p.v,Inductance1.L,Inductance1.i,Inductance1.n.i,Inductance1.n.v,Inductance1.p.i,Inductance1.p.v,Inductance1.v,Inom,Linf,Lnom,Lzer,SaturatingInductance1.Inom,SaturatingInductance1.Ipar,SaturatingInductance1.Lact,SaturatingInductance1.Linf,SaturatingInductance1.Lnom,SaturatingInductance1.Lzer,SaturatingInductance1.Psi,SaturatingInductance1.i,SaturatingInductance1.n.i,SaturatingInductance1.n.v,SaturatingInductance1.p.i,SaturatingInductance1.p.v,SaturatingInductance1.v,SineVoltage1.V,SineVoltage1.freqHz,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.freqHz,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,U,der(Inductance1.i),der(SaturatingInductance1.Psi),f,phase,time