Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.659e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08009/0.08013, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4232, allocations: 92.38 MB / 409.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4234, allocations: 87.56 kB / 409.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.295/0.7185, allocations: 78.07 MB / 487.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.507e-06/0.7185, allocations: 3.938 kB / 487.5 MB, free: 4.055 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000788/0.7193, allocations: 116 kB / 487.6 MB, free: 3.941 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01321/0.7325, allocations: 5.528 MB / 493.1 MB, free: 14.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7326, allocations: 16.03 kB / 493.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.7347, allocations: 0.864 MB / 494 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.7451, allocations: 3.593 MB / 497.6 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.7453, allocations: 156.1 kB / 497.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004766/0.7458, allocations: 203.9 kB / 497.9 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/0.7512, allocations: 1.991 MB / 499.9 MB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-05/0.7513, allocations: 3.906 kB / 499.9 MB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.7516, allocations: 91.98 kB / 0.4883 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/0.7516, allocations: 48 kB / 0.4884 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/0.7566, allocations: 1.762 MB / 0.4901 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02476/0.7814, allocations: 10.13 MB / 0.5 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/0.7868, allocations: 2.266 MB / 0.5022 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/0.7901, allocations: 1.306 MB / 0.5035 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.7903, allocations: 42.2 kB / 0.5035 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002745/0.7931, allocations: 1.097 MB / 0.5046 GB, free: 6.273 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 7.069e-06/0.7931, allocations: 0 / 0.5046 GB, free: 6.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=382): time 0.2944/1.088, allocations: 19.11 MB / 0.5232 GB, free: 103.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09196/1.18, allocations: 30.81 MB / 0.5533 GB, free: 91.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1936/1.373, allocations: 13.35 MB / 0.5664 GB, free: 86.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006015/1.374, allocations: 87.7 kB / 0.5664 GB, free: 86.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004024/1.378, allocations: 3.731 MB / 0.5701 GB, free: 83.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.379, allocations: 1.256 MB / 0.5713 GB, free: 83.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/1.38, allocations: 72.75 kB / 0.5714 GB, free: 83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/1.38, allocations: 437.8 kB / 0.5718 GB, free: 82.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/1.383, allocations: 1.274 MB / 0.5731 GB, free: 82.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/1.386, allocations: 1.598 MB / 0.5746 GB, free: 81.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/1.39, allocations: 1.473 MB / 0.576 GB, free: 80.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.39, allocations: 0 / 0.576 GB, free: 80.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01567/1.406, allocations: 5.285 MB / 0.5812 GB, free: 77.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/1.406, allocations: 8 kB / 0.5812 GB, free: 77.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.406, allocations: 4 kB / 0.5812 GB, free: 77.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006813/1.413, allocations: 1.422 MB / 0.5826 GB, free: 76.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003824/1.417, allocations: 0.574 MB / 0.5832 GB, free: 75.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03203/1.449, allocations: 22.26 MB / 0.6049 GB, free: 53.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/1.453, allocations: 201.2 kB / 0.6051 GB, free: 53.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005566/1.454, allocations: 122.7 kB / 0.6052 GB, free: 53.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (318): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.0007242/1.455, allocations: 291.6 kB / 0.6055 GB, free: 53.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/1.456, allocations: 0.8488 MB / 0.6063 GB, free: 52.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/1.471, allocations: 5.472 MB / 0.6117 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006528/1.478, allocations: 2.386 MB / 0.614 GB, free: 45.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/1.478, allocations: 4 kB / 0.614 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-05/1.478, allocations: 24.7 kB / 0.614 GB, free: 45.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03184/1.51, allocations: 14.08 MB / 0.6278 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/1.51, allocations: 7.703 kB / 0.6278 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/1.513, allocations: 0.4967 MB / 0.6283 GB, free: 33.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007049/1.52, allocations: 1.44 MB / 0.6297 GB, free: 32.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000571/1.521, allocations: 86.53 kB / 0.6298 GB, free: 32.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02823/1.549, allocations: 20.35 MB / 0.6496 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07607/1.625, allocations: 27.25 MB / 0.6762 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2617/1.887, allocations: 7.858 MB / 0.6839 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/1.891, allocations: 1.597 MB / 0.6855 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/1.893, allocations: 87.47 kB / 0.6856 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/1.897, allocations: 173.6 kB / 0.6857 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009753/1.898, allocations: 288.7 kB / 0.686 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003731/1.898, allocations: 109.6 kB / 0.6861 GB, free: 106.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.02055/1.918, allocations: 10.76 MB / 0.6966 GB, free: 105.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.08e-06/1.919, allocations: 0 / 0.6966 GB, free: 105.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006167/1.925, allocations: 1.756 MB / 0.6983 GB, free: 105.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/1.927, allocations: 0.4997 MB / 0.6988 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009575/1.936, allocations: 4.74 MB / 0.7034 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/1.936, allocations: 0 / 0.7034 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006505/1.943, allocations: 3.279 MB / 0.7066 GB, free: 103.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/1.947, allocations: 489.8 kB / 0.7071 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03256/1.979, allocations: 17.48 MB / 0.7242 GB, free: 100.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005907/1.985, allocations: 4.211 MB / 0.7283 GB, free: 99.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003933/1.989, allocations: 0.8392 MB / 0.7291 GB, free: 99.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.991, allocations: 363.2 kB / 0.7295 GB, free: 99.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.736e-06/1.991, allocations: 0 / 0.7295 GB, free: 99.29 MB / 442.7 MB Notification: Performance of Templates: time 0.4196/2.411, allocations: 90.42 MB / 0.8178 GB, free: 22.99 MB / 442.7 MB