Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.08e-05, allocations: 5.562 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09241, allocations: 50.42 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4683, allocations: 89.4 MB / 432 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.4686, allocations: 88.66 kB / 432 MB, free: 4.738 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.1505/0.6191, allocations: 36.88 MB / 468.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.34e-06/0.6192, allocations: 3.984 kB / 468.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.791e-05/0.6192, allocations: 24 kB / 469 MB, free: 4.586 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002894/0.6221, allocations: 1.131 MB / 470.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6222, allocations: 8.031 kB / 470.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.6226, allocations: 122.5 kB / 470.2 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.624, allocations: 0.6018 MB / 470.8 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.6242, allocations: 81.98 kB / 470.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.6244, allocations: 99.91 kB / 471 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.6268, allocations: 0.9308 MB / 471.9 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.6268, allocations: 0 / 471.9 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.627, allocations: 40 kB / 472 MB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.627, allocations: 27.94 kB / 472 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.6291, allocations: 0.7617 MB / 472.8 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008044/0.6372, allocations: 3.568 MB / 476.3 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.639, allocations: 0.7815 MB / 477.1 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.6402, allocations: 463.7 kB / 477.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-05/0.6403, allocations: 16.55 kB / 477.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.6403, allocations: 55.62 kB / 477.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 4.534e-06/0.6404, allocations: 0 / 477.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.01288/0.6532, allocations: 4.258 MB / 481.9 MB, free: 7.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.6534, allocations: 98.27 kB / 482 MB, free: 7.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.6545, allocations: 0.5206 MB / 482.5 MB, free: 6.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.6547, allocations: 49.7 kB / 482.6 MB, free: 6.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.6551, allocations: 450.8 kB / 483 MB, free: 6.035 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005589/0.6557, allocations: 445.5 kB / 483.4 MB, free: 5.594 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/0.6558, allocations: 24 kB / 483.5 MB, free: 5.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.656, allocations: 358.8 kB / 483.8 MB, free: 5.211 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.6571, allocations: 374.5 kB / 484.2 MB, free: 4.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.6582, allocations: 0.498 MB / 484.7 MB, free: 4.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.6593, allocations: 431.6 kB / 485.1 MB, free: 3.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.161e-06/0.6594, allocations: 0 / 485.1 MB, free: 3.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003037/0.6624, allocations: 1.165 MB / 486.3 MB, free: 2.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.6625, allocations: 4 kB / 486.3 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.6625, allocations: 4 kB / 486.3 MB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.6631, allocations: 154.5 kB / 486.4 MB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.6648, allocations: 279.6 kB / 486.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005849/0.6707, allocations: 4.766 MB / 491.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.6719, allocations: 80.02 kB / 491.5 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.6721, allocations: 43.98 kB / 491.6 MB, free: 12.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003324/0.6724, allocations: 183.8 kB / 491.8 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.6727, allocations: 94.97 kB / 491.8 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.6748, allocations: 0.799 MB / 492.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.6748, allocations: 12 kB / 492.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.6749, allocations: 7.938 kB / 492.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.6749, allocations: 3.984 kB / 492.7 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006503/0.6814, allocations: 2.961 MB / 495.6 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.6815, allocations: 4.312 kB / 495.6 MB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.6829, allocations: 255.7 kB / 495.9 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.6835, allocations: 130.4 kB / 496 MB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.6836, allocations: 31.98 kB / 496 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004959/0.6886, allocations: 4.377 MB / 0.4887 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.6887, allocations: 4 kB / 0.4887 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/0.6929, allocations: 1.949 MB / 0.4906 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.6934, allocations: 168.1 kB / 0.4908 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.6936, allocations: 31.94 kB / 0.4908 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009732/0.6946, allocations: 87.89 kB / 0.4909 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.6948, allocations: 88.55 kB / 0.491 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.6949, allocations: 35.98 kB / 0.491 GB, free: 1.086 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008219/0.6958, allocations: 443.2 kB / 0.4914 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.76e-07/0.6958, allocations: 0 / 0.4914 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001441/0.6972, allocations: 272 kB / 0.4917 GB, free: 400 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003231/0.6976, allocations: 159 kB / 0.4918 GB, free: 228 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.7006, allocations: 1.328 MB / 0.4931 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.7007, allocations: 4.125 kB / 0.4931 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.7026, allocations: 0.8827 MB / 0.494 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.7039, allocations: 159.6 kB / 0.4941 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.7087, allocations: 1.82 MB / 0.4959 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/0.7097, allocations: 1.056 MB / 0.4969 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/0.7103, allocations: 95.41 kB / 0.497 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.769e-06/0.7103, allocations: 0 / 0.497 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Templates: time 0.04209/0.7524, allocations: 26.5 MB / 0.5229 GB, free: 248 kB / 442.7 MB