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: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004895, allocations: 15.94 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09904, allocations: 44.51 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.5479, allocations: 72.72 MB / 381.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003989/0.5484, allocations: 76.12 kB / 381.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03536/0.5838, allocations: 5.416 MB / 387.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.5838, allocations: 1.344 kB / 387.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.615e-05/0.5839, allocations: 7.594 kB / 387.3 MB, free: 14.78 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.001924/0.5858, allocations: 0.6038 MB / 387.9 MB, free: 14.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.5859, allocations: 9.844 kB / 387.9 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.5862, allocations: 46.86 kB / 387.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.5868, allocations: 284.2 kB / 388.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.5869, allocations: 29.97 kB / 388.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.587, allocations: 41.72 kB / 388.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.5886, allocations: 447.4 kB / 388.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.5887, allocations: 0 / 388.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/0.5888, allocations: 17.75 kB / 388.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.5889, allocations: 15.75 kB / 388.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.5901, allocations: 288.6 kB / 389 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/0.5945, allocations: 1.332 MB / 390.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009161/0.5955, allocations: 236.1 kB / 390.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.5955, allocations: 11.92 kB / 390.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.5956, allocations: 37.69 kB / 390.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 4.629e-06/0.5956, allocations: 0 / 390.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.00328/0.5989, allocations: 0.5541 MB / 391.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.5991, allocations: 243.1 kB / 391.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.5995, allocations: 207.2 kB / 391.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.602e-05/0.5996, allocations: 32.67 kB / 391.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.5998, allocations: 200.5 kB / 391.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.6, allocations: 101.7 kB / 392 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.6, allocations: 6.688 kB / 392 MB, free: 12.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6001, allocations: 333.8 kB / 392.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.6006, allocations: 84.44 kB / 392.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.601, allocations: 157.2 kB / 392.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.6015, allocations: 108.5 kB / 392.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.6016, allocations: 0 / 392.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001076/0.6027, allocations: 287.4 kB / 392.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.6027, allocations: 7.781 kB / 392.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6028, allocations: 0 / 392.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.6028, allocations: 0.875 kB / 392.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009576/0.6038, allocations: 82.67 kB / 393 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.6038, allocations: 4.031 kB / 393 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.6043, allocations: 37.59 kB / 393 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.6044, allocations: 11.41 kB / 393 MB, free: 12 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.0003311/0.6048, allocations: 149.5 kB / 393.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6049, allocations: 27.39 kB / 393.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.605, allocations: 31.42 kB / 393.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.6051, allocations: 3.75 kB / 393.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/0.6051, allocations: 7.719 kB / 393.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6051, allocations: 9.859 kB / 393.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/0.606, allocations: 392.8 kB / 393.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.606, allocations: 0 / 393.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.6067, allocations: 58.12 kB / 393.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007136/0.6075, allocations: 88.11 kB / 393.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.6075, allocations: 10.84 kB / 393.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003496/0.611, allocations: 1.852 MB / 395.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6111, allocations: 4.062 kB / 395.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.6128, allocations: 0.5131 MB / 396.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.6129, allocations: 103.4 kB / 396.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.6131, allocations: 3.25 kB / 396.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.6136, allocations: 21.8 kB / 396.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.6137, allocations: 26.97 kB / 396.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.6138, allocations: 10.39 kB / 396.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.614, allocations: 149.4 kB / 396.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.614, allocations: 0 / 396.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008294/0.6149, allocations: 104.7 kB / 396.6 MB, free: 9.941 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.0002188/0.6151, allocations: 124 kB / 396.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008713/0.616, allocations: 216 kB / 396.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.616, allocations: 0 / 396.9 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.6169, allocations: 284.5 kB / 397.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.6173, allocations: 15.2 kB / 397.2 MB, free: 9.703 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.62, allocations: 1.057 MB / 398.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.6204, allocations: 0.7957 MB / 399.1 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.6207, allocations: 18.89 kB / 399.1 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.6209, allocations: 21.59 kB / 399.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6209, allocations: 4 kB / 399.1 MB, free: 8.32 MB / 314.7 MB Notification: Performance of Templates: time 0.01303/0.634, allocations: 2.626 MB / 401.7 MB, free: 8.129 MB / 314.7 MB