Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 15.94 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09277, allocations: 44.5 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.4968, allocations: 72.72 MB / 381.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.4972, allocations: 70.11 kB / 381.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01107/0.5083, allocations: 2.585 MB / 383.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5083, allocations: 0 / 383.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.5083, allocations: 1.75 kB / 383.9 MB, free: 14.01 MB / 314.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.0007152/0.5091, allocations: 441.2 kB / 384.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.5091, allocations: 12.3 kB / 384.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.5092, allocations: 40.84 kB / 384.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.5092, allocations: 15.7 kB / 384.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.5094, allocations: 200.6 kB / 384.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.5094, allocations: 15.42 kB / 384.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.5095, allocations: 10.62 kB / 384.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.5098, allocations: 134.7 kB / 384.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5099, allocations: 0.75 kB / 384.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.5099, allocations: 5.156 kB / 384.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5099, allocations: 5.297 kB / 384.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.5102, allocations: 73.62 kB / 384.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.5114, allocations: 0.5092 MB / 385.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.5117, allocations: 84.48 kB / 385.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.5118, allocations: 0 / 385.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5118, allocations: 35.94 kB / 385.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.5118, allocations: 1.375 kB / 385.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.001047/0.5128, allocations: 261.2 kB / 385.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.5129, allocations: 104.2 kB / 385.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.5131, allocations: 146.3 kB / 386 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.5131, allocations: 25.7 kB / 386 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.5132, allocations: 192.5 kB / 386.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.5132, allocations: 24.27 kB / 386.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5132, allocations: 4.688 kB / 386.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.5133, allocations: 321 kB / 386.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.5134, allocations: 33.97 kB / 386.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.5136, allocations: 73.91 kB / 386.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.5138, allocations: 37.31 kB / 386.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5138, allocations: 0 / 386.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003452/0.5141, allocations: 125 kB / 386.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5142, allocations: 5.719 kB / 386.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5142, allocations: 0 / 386.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5142, allocations: 1.156 kB / 386.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.516, allocations: 159.7 kB / 387 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.5174, allocations: 1.382 MB / 388.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.5177, allocations: 24.31 kB / 388.4 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.5178, allocations: 3.125 kB / 388.4 MB, free: 10.51 MB / 314.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.0001323/0.5179, allocations: 128.5 kB / 388.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.518, allocations: 8.688 kB / 388.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.5186, allocations: 152.9 kB / 388.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5186, allocations: 3 kB / 388.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5186, allocations: 5.719 kB / 388.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5186, allocations: 3.953 kB / 388.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.5189, allocations: 221.2 kB / 388.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5189, allocations: 5.438 kB / 388.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.5191, allocations: 16.08 kB / 388.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.5196, allocations: 48.42 kB / 388.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.5196, allocations: 7.828 kB / 389 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.521, allocations: 1.37 MB / 390.3 MB, free: 8.852 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5211, allocations: 3.984 kB / 390.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.5218, allocations: 285.5 kB / 390.6 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.5219, allocations: 88.02 kB / 390.7 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.5219, allocations: 12.92 kB / 390.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.5221, allocations: 12.48 kB / 390.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.5222, allocations: 5.422 kB / 390.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5222, allocations: 9.156 kB / 390.7 MB, free: 8.582 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.5224, allocations: 116.2 kB / 390.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5224, allocations: 1.281 kB / 390.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.5228, allocations: 39.28 kB / 390.9 MB, free: 8.504 MB / 314.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.0009846/0.5238, allocations: 0.8232 MB / 391.7 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.5251, allocations: 146.4 kB / 391.9 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5251, allocations: 1.406 kB / 391.9 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.5255, allocations: 168.4 kB / 392 MB, free: 7.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.5257, allocations: 7.688 kB / 392 MB, free: 7.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.5272, allocations: 1.008 MB / 393 MB, free: 6.828 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.5274, allocations: 0.7187 MB / 393.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.5275, allocations: 41.73 kB / 393.8 MB, free: 6.117 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5275, allocations: 0 / 393.8 MB, free: 6.117 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.628/3.155, allocations: 2.679 MB / 396.5 MB, free: 5.961 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat