Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.214e-05, allocations: 4 kB / 255.5 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09254, allocations: 44.51 MB / 300 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.5126, allocations: 82.51 MB / 382.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5129, allocations: 82.56 kB / 382.6 MB, free: 12.51 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.1512/0.6642, allocations: 35.67 MB / 418.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6642, allocations: 3.938 kB / 418.2 MB, free: 3.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.407e-05/0.6643, allocations: 19 kB / 418.2 MB, free: 3.488 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.003923/0.6683, allocations: 1.141 MB / 419.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.6683, allocations: 11.47 kB / 419.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004585/0.6688, allocations: 148.9 kB / 419.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.6692, allocations: 116.6 kB / 419.7 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.6708, allocations: 0.6047 MB / 420.3 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.6711, allocations: 80.8 kB / 420.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.6714, allocations: 101.5 kB / 420.4 MB, free: 2.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.6741, allocations: 0.9295 MB / 421.4 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.6742, allocations: 4 kB / 421.4 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.6743, allocations: 42.72 kB / 421.4 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.6744, allocations: 23.31 kB / 421.4 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.6767, allocations: 0.7616 MB / 422.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008772/0.6855, allocations: 3.577 MB / 425.8 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.6874, allocations: 0.7841 MB / 426.6 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.6888, allocations: 458.2 kB / 427 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.6889, allocations: 23.36 kB / 427 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.689, allocations: 42.09 kB / 427.1 MB, free: 120 kB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.797e-06/0.689, allocations: 0 / 427.1 MB, free: 120 kB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01629/0.7053, allocations: 4.269 MB / 431.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.7054, allocations: 93.86 kB / 431.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.7066, allocations: 0.5347 MB / 432 MB, free: 13.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002633/0.7069, allocations: 45.58 kB / 432 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.7073, allocations: 445.7 kB / 432.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006853/0.7081, allocations: 444.2 kB / 432.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.7082, allocations: 26.06 kB / 432.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.7085, allocations: 359.7 kB / 433.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.7096, allocations: 376.9 kB / 433.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.711, allocations: 499.1 kB / 434.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.7124, allocations: 428.9 kB / 434.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.7124, allocations: 0 / 434.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003535/0.7159, allocations: 1.159 MB / 435.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.716, allocations: 7.438 kB / 435.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.716, allocations: 8.016 kB / 435.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/0.7168, allocations: 147.5 kB / 435.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.7193, allocations: 289.8 kB / 436.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.7257, allocations: 4.766 MB / 440.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.7276, allocations: 80.02 kB / 441 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/0.7279, allocations: 43.98 kB / 441 MB, free: 6.328 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.0003928/0.7283, allocations: 175.7 kB / 441.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.7287, allocations: 102.8 kB / 441.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.7312, allocations: 0.7872 MB / 442.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.7313, allocations: 12 kB / 442.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.7313, allocations: 4 kB / 442.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/0.7314, allocations: 11.97 kB / 442.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008508/0.7399, allocations: 2.956 MB / 445.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.74, allocations: 7.938 kB / 445.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/0.7423, allocations: 256 kB / 445.3 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007314/0.7431, allocations: 134.5 kB / 445.5 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002587/0.7434, allocations: 35.94 kB / 445.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005259/0.7487, allocations: 4.369 MB / 449.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.7487, allocations: 4 kB / 449.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.7539, allocations: 1.952 MB / 451.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.7544, allocations: 172 kB / 452 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003656/0.7548, allocations: 35.98 kB / 452 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.7564, allocations: 75.95 kB / 452.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004123/0.7568, allocations: 92.61 kB / 452.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.757, allocations: 35.98 kB / 452.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009866/0.758, allocations: 435.2 kB / 452.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.418e-06/0.758, allocations: 0 / 452.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002146/0.7602, allocations: 275.9 kB / 452.9 MB, free: 9.777 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.006212/0.7664, allocations: 3.306 MB / 456.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003905/0.7704, allocations: 1.32 MB / 457.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.7704, allocations: 0 / 457.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.7727, allocations: 0.8997 MB / 458.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.7746, allocations: 158.9 kB / 458.6 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.782, allocations: 1.986 MB / 460.6 MB, free: 1.867 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/0.7831, allocations: 1.06 MB / 461.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.7844, allocations: 403.3 kB / 462 MB, free: 396 kB / 346.7 MB Notification: Performance of SimCode: time 3.597e-06/0.7844, allocations: 3.938 kB / 462 MB, free: 392 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.204/3.988, allocations: 31.31 MB / 493.3 MB, free: 1.043 MB / 378.7 MB