Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.2 MB / 186.1 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08411/0.08452, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4177, allocations: 67.52 MB / 339.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.418, allocations: 66.28 kB / 339.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02425/0.4422, allocations: 5.484 MB / 345.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4423, allocations: 4 kB / 345.2 MB, free: 1.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.521e-05/0.4423, allocations: 8 kB / 345.2 MB, free: 1.012 MB / 266.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.001494/0.4438, allocations: 0.6161 MB / 345.8 MB, free: 380 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4439, allocations: 11.97 kB / 345.8 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.4441, allocations: 79.59 kB / 345.9 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.4442, allocations: 43.53 kB / 346 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.4447, allocations: 284.7 kB / 346.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.4447, allocations: 34.31 kB / 346.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.4449, allocations: 45.44 kB / 346.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.446, allocations: 447 kB / 346.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.446, allocations: 4 kB / 346.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.4461, allocations: 16.94 kB / 346.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.4461, allocations: 12 kB / 346.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.447, allocations: 287 kB / 347.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.4501, allocations: 1.323 MB / 348.4 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/0.4508, allocations: 260.3 kB / 348.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.4509, allocations: 4 kB / 348.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4509, allocations: 34.25 kB / 348.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 3.236e-06/0.4509, allocations: 0 / 348.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002394/0.4533, allocations: 0.566 MB / 349.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.4535, allocations: 235.3 kB / 349.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.4538, allocations: 188.3 kB / 349.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.4539, allocations: 32.64 kB / 349.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.4541, allocations: 199.8 kB / 349.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.4542, allocations: 103 kB / 350 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.4543, allocations: 7.375 kB / 350 MB, free: 12.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4544, allocations: 333.8 kB / 350.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.4547, allocations: 83.66 kB / 350.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.4551, allocations: 158.4 kB / 350.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.4554, allocations: 104.3 kB / 350.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4554, allocations: 0 / 350.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008386/0.4563, allocations: 288.3 kB / 350.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.4563, allocations: 6.031 kB / 350.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4563, allocations: 7.953 kB / 350.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.4564, allocations: 0 / 350.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.4571, allocations: 86.86 kB / 351 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.4571, allocations: 4 kB / 351 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.4574, allocations: 34.3 kB / 351.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.4575, allocations: 8 kB / 351.1 MB, free: 11.81 MB / 282.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.0002857/0.4578, allocations: 149.6 kB / 351.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.4579, allocations: 23.72 kB / 351.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.458, allocations: 34.58 kB / 351.3 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.458, allocations: 11.95 kB / 351.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.458, allocations: 4 kB / 351.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4581, allocations: 0 / 351.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007039/0.4588, allocations: 390.5 kB / 351.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4588, allocations: 0 / 351.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.4594, allocations: 55.52 kB / 351.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/0.46, allocations: 91.11 kB / 351.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.4601, allocations: 11.12 kB / 351.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.4631, allocations: 1.861 MB / 353.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4632, allocations: 0 / 353.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.4646, allocations: 0.5042 MB / 354.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.4649, allocations: 122.4 kB / 354.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.4649, allocations: 15.14 kB / 354.3 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.4652, allocations: 22.48 kB / 354.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4654, allocations: 23.72 kB / 354.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.4654, allocations: 7.984 kB / 354.4 MB, free: 8.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.4656, allocations: 157.4 kB / 354.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4656, allocations: 0 / 354.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005732/0.4662, allocations: 108.1 kB / 354.6 MB, free: 8.629 MB / 282.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.001766/0.468, allocations: 1.083 MB / 355.7 MB, free: 7.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007003/0.4687, allocations: 224.4 kB / 355.9 MB, free: 7.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4688, allocations: 0 / 355.9 MB, free: 7.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007007/0.4695, allocations: 273.7 kB / 356.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.4699, allocations: 20.83 kB / 356.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.4743, allocations: 2.067 MB / 358.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.4749, allocations: 0.8026 MB / 359.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.4751, allocations: 21.94 kB / 359.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.4753, allocations: 103.8 kB / 359.2 MB, free: 4.469 MB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4753, allocations: 0 / 359.2 MB, free: 4.469 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.5053, allocations: 5.149 MB / 364.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003963/0.5057, allocations: 203.3 kB / 364.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.164, allocations: 0 / 364.6 MB, free: 15.14 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat