Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005004, allocations: 12 kB / 264.1 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3277, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4607, allocations: 72.73 MB / 381.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.4611, allocations: 71.97 kB / 381.4 MB, free: 3.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.4851, allocations: 5.426 MB / 386.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.631e-06/0.4851, allocations: 0 / 386.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.4852, allocations: 11.94 kB / 386.8 MB, free: 14.45 MB / 330.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.001434/0.4866, allocations: 0.6045 MB / 387.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.4867, allocations: 12.03 kB / 387.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.4868, allocations: 78.53 kB / 387.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.487, allocations: 51.39 kB / 387.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.4875, allocations: 275.1 kB / 387.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.4875, allocations: 29 kB / 387.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.4877, allocations: 44 kB / 387.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.4888, allocations: 447.2 kB / 388.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.4889, allocations: 0 / 388.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.4889, allocations: 20 kB / 388.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.489, allocations: 8 kB / 388.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.4898, allocations: 295.8 kB / 388.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.493, allocations: 1.33 MB / 390 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.4938, allocations: 242.9 kB / 390.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.4938, allocations: 7.984 kB / 390.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4939, allocations: 38.56 kB / 390.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.996e-06/0.4939, allocations: 0 / 390.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.003143/0.4971, allocations: 0.5548 MB / 390.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.4973, allocations: 247.3 kB / 391 MB, free: 9.871 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.4976, allocations: 187.4 kB / 391.2 MB, free: 9.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.4977, allocations: 29.7 kB / 391.3 MB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.4979, allocations: 200.2 kB / 391.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.498, allocations: 94.56 kB / 391.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.498, allocations: 4 kB / 391.5 MB, free: 9.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4982, allocations: 338.8 kB / 391.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.4985, allocations: 83.95 kB / 392 MB, free: 8.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.4989, allocations: 155.4 kB / 392.1 MB, free: 8.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.4993, allocations: 108 kB / 392.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4993, allocations: 4 kB / 392.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008344/0.5001, allocations: 288.7 kB / 392.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5002, allocations: 4 kB / 392.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5002, allocations: 0 / 392.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.5002, allocations: 4 kB / 392.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/0.5009, allocations: 83.83 kB / 392.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.5009, allocations: 0 / 392.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.5013, allocations: 39.72 kB / 392.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.5013, allocations: 11.98 kB / 392.6 MB, free: 8.215 MB / 330.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.0002853/0.5016, allocations: 149.8 kB / 392.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.5017, allocations: 27.67 kB / 392.8 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.5018, allocations: 30.66 kB / 392.8 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5019, allocations: 4 kB / 392.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.5019, allocations: 4 kB / 392.8 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.5019, allocations: 3.984 kB / 392.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007189/0.5026, allocations: 393.3 kB / 393.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5027, allocations: 0 / 393.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.5032, allocations: 59.89 kB / 393.3 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005499/0.5038, allocations: 88.77 kB / 393.4 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.5038, allocations: 8 kB / 393.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.507, allocations: 1.848 MB / 395.2 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5071, allocations: 0 / 395.2 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.5085, allocations: 0.5241 MB / 395.8 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5087, allocations: 100.8 kB / 395.9 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.5088, allocations: 8.062 kB / 395.9 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.5091, allocations: 15.98 kB / 395.9 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5092, allocations: 27.95 kB / 395.9 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.5092, allocations: 8 kB / 395.9 MB, free: 4.695 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002063/0.5094, allocations: 147.4 kB / 396.1 MB, free: 4.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5094, allocations: 0 / 396.1 MB, free: 4.551 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005815/0.51, allocations: 115.6 kB / 396.2 MB, free: 4.438 MB / 330.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.001782/0.5118, allocations: 1.069 MB / 397.2 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.5126, allocations: 224.3 kB / 397.5 MB, free: 3.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5126, allocations: 4.062 kB / 397.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.5134, allocations: 282.5 kB / 397.7 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.5137, allocations: 22.48 kB / 397.8 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.5181, allocations: 2.064 MB / 399.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.5187, allocations: 0.7984 MB / 400.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.5189, allocations: 25.94 kB / 400.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.5191, allocations: 103.5 kB / 400.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5191, allocations: 0 / 400.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.5481, allocations: 5.138 MB / 405.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003163/0.5485, allocations: 207.5 kB / 406.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.245, allocations: 7.938 kB / 406.1 MB, free: 10.39 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat