Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.423e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09805, allocations: 44.49 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5179, allocations: 82.52 MB / 382.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5182, allocations: 78.81 kB / 382.6 MB, free: 12.8 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FluxTubes.mo:1375:11-1375: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.149/0.6672, allocations: 35.67 MB / 418.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6673, allocations: 4 kB / 418.2 MB, free: 3.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.409e-05/0.6674, allocations: 19.44 kB / 418.3 MB, free: 3.641 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003603/0.671, allocations: 1.143 MB / 419.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.671, allocations: 7.75 kB / 419.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003628/0.6714, allocations: 147.8 kB / 419.6 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.6717, allocations: 119.9 kB / 419.7 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.6731, allocations: 0.603 MB / 420.3 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.6733, allocations: 79.52 kB / 420.4 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/0.6736, allocations: 106.7 kB / 420.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.6761, allocations: 0.9305 MB / 421.4 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/0.6762, allocations: 7.375 kB / 421.4 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.6763, allocations: 41.47 kB / 421.4 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.6764, allocations: 23.19 kB / 421.5 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.6785, allocations: 0.7615 MB / 422.2 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007708/0.6862, allocations: 3.573 MB / 425.8 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.6879, allocations: 0.7902 MB / 426.6 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.689, allocations: 460.9 kB / 427 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.323e-05/0.6891, allocations: 16.22 kB / 427.1 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.6892, allocations: 45.41 kB / 427.1 MB, free: 268 kB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.567e-06/0.6892, allocations: 0 / 427.1 MB, free: 268 kB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01442/0.7036, allocations: 4.263 MB / 431.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.7037, allocations: 93.89 kB / 431.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.7048, allocations: 0.5341 MB / 432 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.705, allocations: 45.58 kB / 432 MB, free: 13.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.7053, allocations: 414.8 kB / 432.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/0.7058, allocations: 457.8 kB / 432.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.7059, allocations: 23.78 kB / 432.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.7062, allocations: 402.1 kB / 433.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.7072, allocations: 371.7 kB / 433.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.7083, allocations: 0.4933 MB / 434.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.7095, allocations: 431.4 kB / 434.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.7095, allocations: 0 / 434.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003183/0.7127, allocations: 1.201 MB / 435.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.7127, allocations: 15.66 kB / 435.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.7128, allocations: 0 / 435.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.7134, allocations: 143.9 kB / 435.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.7157, allocations: 289.7 kB / 436.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005416/0.7212, allocations: 4.756 MB / 441 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.7229, allocations: 84 kB / 441.1 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.723, allocations: 44.11 kB / 441.1 MB, free: 5.965 MB / 330.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.0003601/0.7234, allocations: 177.9 kB / 441.3 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.7237, allocations: 94.83 kB / 441.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.726, allocations: 0.7911 MB / 442.2 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.7261, allocations: 19.98 kB / 442.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.7261, allocations: 0 / 442.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.7261, allocations: 11.92 kB / 442.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007157/0.7333, allocations: 2.96 MB / 445.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.7333, allocations: 4 kB / 445.2 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/0.7355, allocations: 259.9 kB / 445.4 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006479/0.7362, allocations: 130.4 kB / 445.5 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.7363, allocations: 35.94 kB / 445.6 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.7413, allocations: 4.38 MB / 449.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7413, allocations: 4 kB / 450 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/0.746, allocations: 1.948 MB / 451.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.7465, allocations: 172 kB / 452.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.7467, allocations: 28 kB / 452.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.748, allocations: 76.2 kB / 452.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.7483, allocations: 88.61 kB / 452.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.7484, allocations: 43.98 kB / 452.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008734/0.7493, allocations: 431.2 kB / 452.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.7493, allocations: 4 kB / 452.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001662/0.751, allocations: 276 kB / 453 MB, free: 9.41 MB / 346.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.005379/0.7564, allocations: 3.304 MB / 456.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.76, allocations: 1.32 MB / 457.6 MB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.76, allocations: 0.625 kB / 457.6 MB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.7621, allocations: 0.9027 MB / 458.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.7638, allocations: 160.7 kB / 458.7 MB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.7705, allocations: 1.949 MB / 460.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/0.7715, allocations: 1.06 MB / 461.7 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001128/0.7726, allocations: 127.9 kB / 461.8 MB, free: 332 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/0.7736, allocations: 387.3 kB / 462.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7736, allocations: 0 / 462.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06606/0.8397, allocations: 20.26 MB / 482.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.8401, allocations: 203.9 kB / 482.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/4.097, allocations: 0 / 482.6 MB, free: 11.5 MB / 378.7 MB