Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.534e-05, allocations: 8 kB / 292.8 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5636/0.6691, allocations: 89.34 MB / 432.5 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.6694, allocations: 78.33 kB / 432.6 MB, free: 4.973 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.1679/0.8373, allocations: 36.9 MB / 469.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8374, allocations: 0 / 469.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.052e-05/0.8375, allocations: 23.98 kB / 469.5 MB, free: 4.34 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.004132/0.8416, allocations: 1.139 MB / 470.6 MB, free: 3.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.8417, allocations: 8.031 kB / 470.7 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004425/0.8421, allocations: 148.1 kB / 470.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.8425, allocations: 122.5 kB / 470.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.8442, allocations: 0.6018 MB / 471.5 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.8444, allocations: 81.98 kB / 471.6 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.8448, allocations: 99.91 kB / 471.7 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.8477, allocations: 0.9268 MB / 472.6 MB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.205e-05/0.8478, allocations: 11.94 kB / 472.6 MB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.848, allocations: 36 kB / 472.7 MB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.848, allocations: 24 kB / 472.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.8506, allocations: 0.7695 MB / 473.5 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009156/0.8598, allocations: 3.572 MB / 477 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.8617, allocations: 0.7728 MB / 477.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.8629, allocations: 455.8 kB / 478.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.743e-05/0.863, allocations: 20.5 kB / 478.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.8631, allocations: 51.64 kB / 478.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 3.326e-06/0.8631, allocations: 0 / 478.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=131): time 0.01574/0.8789, allocations: 4.265 MB / 482.6 MB, free: 6.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.879, allocations: 90.33 kB / 482.7 MB, free: 6.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.8802, allocations: 0.5245 MB / 483.2 MB, free: 6.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.8804, allocations: 53.7 kB / 483.3 MB, free: 6.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.8808, allocations: 420.3 kB / 483.7 MB, free: 5.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005398/0.8814, allocations: 449.4 kB / 484.1 MB, free: 5.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.8815, allocations: 24 kB / 484.1 MB, free: 5.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002385/0.8818, allocations: 398.7 kB / 484.5 MB, free: 4.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.8831, allocations: 370.6 kB / 484.9 MB, free: 4.426 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.8843, allocations: 0.498 MB / 485.4 MB, free: 3.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.8856, allocations: 431.6 kB / 485.8 MB, free: 3.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8856, allocations: 0 / 485.8 MB, free: 3.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003534/0.8892, allocations: 1.207 MB / 487 MB, free: 2.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.8892, allocations: 11.94 kB / 487 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8893, allocations: 0 / 487 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.89, allocations: 146.6 kB / 487.2 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.8924, allocations: 291.6 kB / 487.4 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/0.8981, allocations: 4.755 MB / 492.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.8998, allocations: 79.94 kB / 492.3 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.9, allocations: 44.05 kB / 492.3 MB, free: 12.52 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.0003475/0.9004, allocations: 179.6 kB / 492.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.9007, allocations: 98.88 kB / 492.6 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.903, allocations: 0.795 MB / 493.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/0.903, allocations: 12 kB / 493.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.903, allocations: 4.125 kB / 493.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.9031, allocations: 7.938 kB / 493.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007663/0.9107, allocations: 2.97 MB / 496.4 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.9108, allocations: 0 / 496.4 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/0.913, allocations: 251.7 kB / 496.6 MB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007047/0.9137, allocations: 130.5 kB / 496.8 MB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/0.9139, allocations: 31.98 kB / 496.8 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004866/0.9188, allocations: 4.385 MB / 0.4894 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9188, allocations: 4 kB / 0.4894 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004696/0.9236, allocations: 1.952 MB / 0.4913 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.924, allocations: 172 kB / 0.4915 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/0.9243, allocations: 28 kB / 0.4915 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.9257, allocations: 87.89 kB / 0.4916 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.926, allocations: 84.61 kB / 0.4917 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.9261, allocations: 43.98 kB / 0.4917 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000889/0.927, allocations: 431.2 kB / 0.4921 GB, free: 200 kB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.927, allocations: 3.938 kB / 0.4921 GB, free: 196 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.00173/0.9288, allocations: 272 kB / 0.4924 GB, free: 15.92 MB / 426.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.005402/0.9342, allocations: 3.318 MB / 0.4956 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.9377, allocations: 1.324 MB / 0.4969 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.9377, allocations: 4.062 kB / 0.4969 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.9399, allocations: 0.8866 MB / 0.4978 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.9415, allocations: 147.5 kB / 0.4979 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006479/0.948, allocations: 1.953 MB / 0.4999 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/0.9489, allocations: 1.064 MB / 0.5009 GB, free: 6.965 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001101/0.95, allocations: 123.9 kB / 0.501 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000961/0.951, allocations: 387.3 kB / 0.5014 GB, free: 6.461 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.951, allocations: 0 / 0.5014 GB, free: 6.461 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07333/1.024, allocations: 20.27 MB / 0.5212 GB, free: 2.41 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/1.025, allocations: 200.7 kB / 0.5214 GB, free: 2.184 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/4.509, allocations: 0 / 0.5214 GB, free: 2.184 MB / 442.7 MB