Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.056e-05/4.068e-05, allocations: 12 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09648, allocations: 47.58 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.522, allocations: 86.76 MB / 403.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5223, allocations: 83.27 kB / 403.9 MB, free: 0.918 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Magnetic/FluxTubes.mo:1363:11-1363:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.1574/0.6797, allocations: 35.91 MB / 439.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6798, allocations: 0 / 439.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.708e-05/0.6799, allocations: 23.98 kB / 439.8 MB, free: 3.004 MB / 346.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.005614/0.6855, allocations: 1.135 MB / 441 MB, free: 1.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.6856, allocations: 8.031 kB / 441 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005768/0.6862, allocations: 150.8 kB / 441.1 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005635/0.6867, allocations: 118.6 kB / 441.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.6891, allocations: 0.6049 MB / 441.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.6895, allocations: 74.38 kB / 441.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.6899, allocations: 106.2 kB / 442 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/0.6938, allocations: 0.9327 MB / 442.9 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/0.6939, allocations: 1.312 kB / 442.9 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.694, allocations: 37.62 kB / 443 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.6941, allocations: 24 kB / 443 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.6964, allocations: 0.7643 MB / 443.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.7079, allocations: 3.574 MB / 447.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/0.7123, allocations: 0.7884 MB / 448.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.714, allocations: 459.7 kB / 448.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.101e-05/0.7142, allocations: 12.55 kB / 448.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.7142, allocations: 47.12 kB / 448.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=95): time 3.657e-06/0.7142, allocations: 0 / 448.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.01557/0.7298, allocations: 4.274 MB / 452.9 MB, free: 6.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.7299, allocations: 98.27 kB / 453 MB, free: 6.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.7311, allocations: 0.5245 MB / 453.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.7312, allocations: 45.7 kB / 453.6 MB, free: 6.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.7317, allocations: 416.4 kB / 454 MB, free: 5.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/0.7322, allocations: 449.4 kB / 454.4 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.7323, allocations: 24 kB / 454.4 MB, free: 5.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.7326, allocations: 394.7 kB / 454.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.7337, allocations: 378.6 kB / 455.2 MB, free: 4.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.735, allocations: 0.4941 MB / 455.7 MB, free: 4.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.7362, allocations: 419.7 kB / 456.1 MB, free: 3.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.7362, allocations: 4 kB / 456.1 MB, free: 3.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003475/0.7397, allocations: 1.207 MB / 457.3 MB, free: 2.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.7398, allocations: 8 kB / 457.3 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.7398, allocations: 8.312 kB / 457.3 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/0.7405, allocations: 138.5 kB / 457.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.7428, allocations: 291.6 kB / 457.7 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005738/0.7486, allocations: 4.766 MB / 462.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.7503, allocations: 80 kB / 462.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.7505, allocations: 47.98 kB / 462.6 MB, free: 12.71 MB / 378.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.0003516/0.7508, allocations: 168.7 kB / 462.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.7511, allocations: 102.9 kB / 462.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.7534, allocations: 0.7833 MB / 463.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.7535, allocations: 16 kB / 463.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.7535, allocations: 4.125 kB / 463.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.7535, allocations: 19.91 kB / 463.7 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007386/0.7609, allocations: 2.962 MB / 466.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.761, allocations: 4 kB / 466.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/0.7632, allocations: 256 kB / 466.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006862/0.7639, allocations: 122.5 kB / 467.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/0.7641, allocations: 35.98 kB / 467.1 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004938/0.7691, allocations: 4.381 MB / 471.5 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.7691, allocations: 4 kB / 471.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004768/0.7739, allocations: 1.944 MB / 473.4 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/0.7744, allocations: 176 kB / 473.6 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.7746, allocations: 31.98 kB / 473.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.7762, allocations: 79.89 kB / 473.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/0.7766, allocations: 88.61 kB / 473.8 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.7767, allocations: 43.98 kB / 473.8 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009353/0.7777, allocations: 431.2 kB / 474.3 MB, free: 404 kB / 378.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.7777, allocations: 3.938 kB / 474.3 MB, free: 400 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001805/0.7795, allocations: 272 kB / 474.5 MB, free: 128 kB / 378.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.005478/0.785, allocations: 3.311 MB / 477.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003426/0.7885, allocations: 1.328 MB / 479.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7885, allocations: 0 / 479.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.7905, allocations: 0.8916 MB / 480.1 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.792, allocations: 166.5 kB / 480.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/0.7982, allocations: 1.96 MB / 482.2 MB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/0.7992, allocations: 1.06 MB / 483.2 MB, free: 7.152 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00111/0.8003, allocations: 123.9 kB / 483.4 MB, free: 7.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009478/0.8013, allocations: 387.3 kB / 483.7 MB, free: 6.648 MB / 394.7 MB Notification: Performance of SimCode: time 1.412e-06/0.8013, allocations: 0 / 483.7 MB, free: 6.648 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08259/0.8839, allocations: 20.26 MB / 0.4922 GB, free: 2.445 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003814/0.8843, allocations: 192.1 kB / 0.4924 GB, free: 2.223 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/4.088, allocations: 8.062 kB / 0.4924 GB, free: 2.215 MB / 410.7 MB