Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 194.8 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09552, allocations: 44.51 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.4958, allocations: 72.71 MB / 381.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.4961, allocations: 74.64 kB / 381.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02244/0.5186, allocations: 5.425 MB / 386.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5187, allocations: 0 / 386.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.5187, allocations: 9.219 kB / 386.8 MB, free: 14.17 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001423/0.5201, allocations: 0.6064 MB / 387.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5202, allocations: 9.188 kB / 387.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.5204, allocations: 80.45 kB / 387.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.5205, allocations: 52.25 kB / 387.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.5209, allocations: 271.3 kB / 387.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.521, allocations: 32.09 kB / 387.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5211, allocations: 47.84 kB / 387.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5222, allocations: 442.8 kB / 388.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.5222, allocations: 0 / 388.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.5223, allocations: 21.41 kB / 388.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.5223, allocations: 10.41 kB / 388.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.5232, allocations: 291.1 kB / 388.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.526, allocations: 1.328 MB / 389.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.5266, allocations: 242.2 kB / 390.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.5267, allocations: 11.17 kB / 390.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.5267, allocations: 41.75 kB / 390.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.166e-06/0.5267, allocations: 0 / 390.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002196/0.529, allocations: 0.5568 MB / 390.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.5291, allocations: 242.5 kB / 391 MB, free: 12.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.5293, allocations: 189.2 kB / 391.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.5294, allocations: 32.64 kB / 391.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5295, allocations: 256.7 kB / 391.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.5296, allocations: 101 kB / 391.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.5296, allocations: 7.188 kB / 391.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.5297, allocations: 324.9 kB / 391.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.5299, allocations: 84.05 kB / 392 MB, free: 11.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.5302, allocations: 159.2 kB / 392.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.5305, allocations: 101.1 kB / 392.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5306, allocations: 0 / 392.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006858/0.5313, allocations: 279.1 kB / 392.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5313, allocations: 3.938 kB / 392.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5313, allocations: 3.688 kB / 392.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.5313, allocations: 0 / 392.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.532, allocations: 85.58 kB / 392.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.532, allocations: 10.81 kB / 392.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.5323, allocations: 37.98 kB / 392.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.5324, allocations: 11.19 kB / 392.6 MB, free: 11.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.5326, allocations: 149.1 kB / 392.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.5327, allocations: 27.3 kB / 392.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.08e-05/0.5328, allocations: 33.75 kB / 392.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.5328, allocations: 3.938 kB / 392.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.5329, allocations: 7.938 kB / 392.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5329, allocations: 0 / 392.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.5335, allocations: 388.8 kB / 393.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5335, allocations: 3.875 kB / 393.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.534, allocations: 54.02 kB / 393.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.5345, allocations: 91 kB / 393.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.5346, allocations: 3.688 kB / 393.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.537, allocations: 1.856 MB / 395.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.537, allocations: 3.844 kB / 395.3 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.5382, allocations: 0.5189 MB / 395.8 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.5383, allocations: 100.6 kB / 395.9 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.5383, allocations: 8.547 kB / 395.9 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.5386, allocations: 15.06 kB / 395.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.5387, allocations: 25 kB / 395.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.5387, allocations: 7.969 kB / 395.9 MB, free: 9.324 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.5389, allocations: 150.8 kB / 396.1 MB, free: 9.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5389, allocations: 0 / 396.1 MB, free: 9.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00053/0.5395, allocations: 113.5 kB / 396.2 MB, free: 9.227 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.5408, allocations: 1.069 MB / 397.3 MB, free: 8.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005914/0.5414, allocations: 221.7 kB / 397.5 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5415, allocations: 0 / 397.5 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.542, allocations: 288.4 kB / 397.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.5424, allocations: 14.22 kB / 397.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.5459, allocations: 2.096 MB / 399.9 MB, free: 7.234 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.5462, allocations: 0.8051 MB / 400.7 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.5464, allocations: 98.92 kB / 400.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5464, allocations: 0 / 400.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.941/3.488, allocations: 5.265 MB / 406 MB, free: 6.188 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat