Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.626/2.626, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.814e-05, allocations: 3.312 kB / 249.8 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5941/0.703, allocations: 83.37 MB / 377.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/0.7035, allocations: 86.89 kB / 377.7 MB, free: 6.695 MB / 298.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.11/0.8135, allocations: 21.21 MB / 398.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8136, allocations: 0 / 398.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.475e-05/0.8137, allocations: 19.5 kB / 399 MB, free: 14.78 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.005125/0.8188, allocations: 1.254 MB / 400.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.8189, allocations: 11.66 kB / 400.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004774/0.8194, allocations: 106.3 kB / 400.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005283/0.8199, allocations: 131.1 kB / 400.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.822, allocations: 0.6417 MB / 401.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.8222, allocations: 47.56 kB / 401.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/0.8225, allocations: 54.41 kB / 401.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002645/0.8252, allocations: 0.7244 MB / 401.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.8279, allocations: 0.8023 MB / 402.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-05/0.828, allocations: 7.312 kB / 402.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.8282, allocations: 0 / 402.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.8283, allocations: 23.09 kB / 402.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.8395, allocations: 3.677 MB / 406.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004033/0.8436, allocations: 0.8096 MB / 407.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.8446, allocations: 348.2 kB / 407.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.065e-05/0.8447, allocations: 12.06 kB / 407.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.8448, allocations: 46.84 kB / 407.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 5.029e-06/0.8448, allocations: 0 / 407.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.005708/0.8505, allocations: 1.397 MB / 409 MB, free: 10.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.8507, allocations: 89.36 kB / 409.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.8525, allocations: 0.6812 MB / 409.8 MB, free: 9.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.8526, allocations: 33.7 kB / 409.8 MB, free: 9.594 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000574/0.8532, allocations: 0.5128 MB / 410.3 MB, free: 9.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.8536, allocations: 282 kB / 410.6 MB, free: 8.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.8538, allocations: 0 / 410.6 MB, free: 8.973 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.854, allocations: 394.4 kB / 411 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009833/0.855, allocations: 279.6 kB / 411.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.8562, allocations: 437.7 kB / 411.7 MB, free: 8.129 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.8573, allocations: 319.5 kB / 412 MB, free: 7.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.8574, allocations: 0 / 412 MB, free: 7.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003404/0.8608, allocations: 0.8403 MB / 412.9 MB, free: 7.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.8609, allocations: 35.89 kB / 412.9 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.861, allocations: 4 kB / 412.9 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.379e-05/0.861, allocations: 12.45 kB / 412.9 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/0.8649, allocations: 349.9 kB / 413.3 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.318e-05/0.8649, allocations: 11.94 kB / 413.3 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.8672, allocations: 99.91 kB / 413.4 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.8674, allocations: 42.23 kB / 413.4 MB, free: 6.816 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003471/0.8678, allocations: 124.5 kB / 413.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.8681, allocations: 90.88 kB / 413.6 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.8694, allocations: 327.4 kB / 413.9 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.8695, allocations: 11.94 kB / 413.9 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.8695, allocations: 11.94 kB / 414 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.8695, allocations: 7.969 kB / 414 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008222/0.8778, allocations: 2.652 MB / 416.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/0.8778, allocations: 12 kB / 416.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/0.8806, allocations: 267.4 kB / 416.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.083e-05/0.8807, allocations: 19.95 kB / 416.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.8808, allocations: 19.98 kB / 416.9 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.83e-05/0.8808, allocations: 27.92 kB / 417 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.479e-05/0.8809, allocations: 15.94 kB / 417 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.8841, allocations: 1.621 MB / 418.6 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005022/0.8846, allocations: 192 kB / 418.8 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.8849, allocations: 23.94 kB / 418.8 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.8867, allocations: 67.94 kB / 418.9 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.887, allocations: 95.7 kB / 419 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.8871, allocations: 35.98 kB / 419 MB, free: 1.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001454/0.8886, allocations: 0.5186 MB / 419.5 MB, free: 1.172 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.8886, allocations: 0 / 419.5 MB, free: 1.172 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001849/0.8905, allocations: 208 kB / 419.7 MB, free: 0.9688 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005959/0.8964, allocations: 5.475 MB / 425.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/0.899, allocations: 0.7261 MB / 425.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.899, allocations: 256 / 425.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.9005, allocations: 377.9 kB / 426.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.9026, allocations: 162.2 kB / 426.4 MB, free: 9.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007262/0.9098, allocations: 1.643 MB / 428.1 MB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.9111, allocations: 1.049 MB / 429.1 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001479/0.9126, allocations: 130.6 kB / 429.3 MB, free: 6.906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.9138, allocations: 387.2 kB / 429.6 MB, free: 6.527 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.9138, allocations: 4 kB / 429.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2247/1.139, allocations: 17.51 MB / 447.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.001308/1.14, allocations: 214.7 kB / 447.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.361/5.501, allocations: 4 kB / 447.4 MB, free: 4.746 MB / 346.7 MB