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.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.65e-05, allocations: 6.188 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08316, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01403/0.09724, allocations: 8.446 MB / 275.4 MB, free: 7.988 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.1056, allocations: 3.2 MB / 278.6 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.1076, allocations: 55.88 kB / 278.6 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.1195, allocations: 7.931 MB / 286.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009357/0.1289, allocations: 4.53 MB / 291.1 MB, free: 8.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.1316, allocations: 0.5109 MB / 291.6 MB, free: 7.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006287/0.1379, allocations: 2.021 MB / 293.6 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.1393, allocations: 457.8 kB / 294.1 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.1428, allocations: 1.755 MB / 295.8 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2344/0.3773, allocations: 3.594 MB / 299.4 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.3795, allocations: 147.8 kB / 299.6 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001761/0.3813, allocations: 104.6 kB / 299.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00409/0.3854, allocations: 1.668 MB / 301.3 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002784/0.3883, allocations: 345.2 kB / 301.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4016, allocations: 5.329 MB / 307 MB, free: 12.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4017, allocations: 0 / 307 MB, free: 12.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4017, allocations: 0 / 307 MB, free: 12.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004418/0.4022, allocations: 1.156 kB / 307 MB, free: 12.98 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.0225/0.4247, allocations: 5.243 MB / 312.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.4248, allocations: 8.719 kB / 312.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/0.4286, allocations: 0.8409 MB / 313.1 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.4407, allocations: 2.826 MB / 315.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.4411, allocations: 153.8 kB / 316.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009999/0.4421, allocations: 201.4 kB / 316.3 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.4541, allocations: 2.002 MB / 318.3 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.4544, allocations: 6.844 kB / 318.3 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006512/0.455, allocations: 81.31 kB / 318.3 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-05/0.4551, allocations: 48.78 kB / 318.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.4659, allocations: 1.796 MB / 320.2 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0334/0.4994, allocations: 8.614 MB / 328.8 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007485/0.5069, allocations: 2.135 MB / 330.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/0.5074, allocations: 127.8 kB / 331.1 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004274/0.5117, allocations: 1.064 MB / 332.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of pre-optimization done (n=226): time 8.326e-06/0.5117, allocations: 0 / 332.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=348): time 0.1103/0.622, allocations: 19.29 MB / 351.4 MB, free: 14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2032/0.8253, allocations: 30.95 MB / 382.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03845/0.8638, allocations: 13.74 MB / 396.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008665/0.8647, allocations: 85.7 kB / 396.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009124/0.8739, allocations: 3.801 MB / 400 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00235/0.8763, allocations: 1.149 MB / 401.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005003/0.8768, allocations: 68 kB / 401.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003608/0.8772, allocations: 427.9 kB / 401.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006171/0.8834, allocations: 1.178 MB / 402.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006669/0.8901, allocations: 1.52 MB / 404.3 MB, free: 8.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006621/0.8967, allocations: 1.397 MB / 405.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.8968, allocations: 0 / 405.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01959/0.9164, allocations: 4.558 MB / 410.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.691e-05/0.9165, allocations: 37.7 kB / 410.3 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.9165, allocations: 4 kB / 410.3 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/0.9322, allocations: 1.466 MB / 411.8 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005601/0.9379, allocations: 0.5569 MB / 412.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/0.9535, allocations: 12.78 MB / 425.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005788/0.9593, allocations: 163.9 kB / 425.3 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008008/0.9602, allocations: 135.8 kB / 425.4 MB, free: 2.617 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,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 (297): * Single equations (assignments): 285 * Array equations: 2 * Algorithm blocks: 1 * 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%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {2 38,3 48} Notification: Performance of prepare postOptimizeDAE: time 0.007257/0.9675, allocations: 2.171 MB / 427.6 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002876/0.9703, allocations: 0.8059 MB / 428.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/0.9871, allocations: 4.617 MB / 433 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00677/0.9939, allocations: 1.973 MB / 435 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/0.994, allocations: 12 kB / 435 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-05/0.9941, allocations: 19.92 kB / 435 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2862/1.28, allocations: 10.1 MB / 445.1 MB, free: 124.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.224e-05/1.28, allocations: 1.375 kB / 445.1 MB, free: 124.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00847/1.289, allocations: 481.5 kB / 445.6 MB, free: 124.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01797/1.307, allocations: 1.502 MB / 447.1 MB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007738/1.308, allocations: 92.66 kB / 447.2 MB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/1.321, allocations: 12.44 MB / 459.6 MB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1714/1.493, allocations: 27.05 MB / 486.7 MB, free: 97.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/1.509, allocations: 6.356 MB / 493 MB, free: 91.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/1.511, allocations: 0.7471 MB / 493.8 MB, free: 91.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001588/1.513, allocations: 63.94 kB / 493.8 MB, free: 90.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005691/1.518, allocations: 131.9 kB / 494 MB, free: 90.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008659/1.519, allocations: 219 kB / 494.2 MB, free: 90.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003471/1.52, allocations: 111.9 kB / 494.3 MB, free: 90.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.02213/1.542, allocations: 11.09 MB / 0.4935 GB, free: 79.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.542, allocations: 0 / 0.4935 GB, free: 79.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005352/1.547, allocations: 0.9162 MB / 0.4944 GB, free: 78.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 6 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent) * Number of discrete states: 1 (comparisonWithFEA.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 49,4 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/1.549, allocations: 406.7 kB / 0.4948 GB, free: 78.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/1.559, allocations: 4.096 MB / 0.4988 GB, free: 74.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.559, allocations: 3.062 kB / 0.4988 GB, free: 74.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00686/1.566, allocations: 2.63 MB / 0.5014 GB, free: 71.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/1.571, allocations: 474.5 kB / 0.5018 GB, free: 70.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/1.611, allocations: 19.92 MB / 0.5213 GB, free: 50.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007896/1.619, allocations: 4.112 MB / 0.5253 GB, free: 46.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003852/1.623, allocations: 372.1 kB / 0.5257 GB, free: 46.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.624, allocations: 203.2 kB / 0.5259 GB, free: 46.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.492e-06/1.624, allocations: 0 / 0.5259 GB, free: 46.13 MB / 362.7 MB Notification: Performance of Templates: time 0.3953/2.019, allocations: 50.14 MB / 0.5748 GB, free: 117.2 MB / 362.7 MB