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.254/2.254, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.669e-05, allocations: 2.75 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5002/0.6048, allocations: 83.36 MB / 377.7 MB, free: 6.73 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.6051, allocations: 88.17 kB / 377.7 MB, free: 6.719 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.0975/0.7026, allocations: 21.12 MB / 398.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7027, allocations: 0 / 398.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.959e-05/0.7028, allocations: 23.19 kB / 398.9 MB, free: 14.88 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.004766/0.7076, allocations: 1.254 MB / 400.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.7077, allocations: 11.41 kB / 400.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/0.7082, allocations: 128.8 kB / 400.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.7101, allocations: 0.6482 MB / 400.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.7103, allocations: 48.59 kB / 401 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.7105, allocations: 53.72 kB / 401 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00231/0.7128, allocations: 0.7232 MB / 401.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.7154, allocations: 0.8047 MB / 402.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.7155, allocations: 0 / 402.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.7157, allocations: 3.984 kB / 402.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.7157, allocations: 23.25 kB / 402.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.7261, allocations: 3.67 MB / 406.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/0.7298, allocations: 0.8165 MB / 407.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.731, allocations: 348.6 kB / 407.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.7311, allocations: 16.25 kB / 407.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.7312, allocations: 46.09 kB / 407.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 5.059e-06/0.7312, allocations: 4 kB / 407.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.005882/0.7371, allocations: 1.393 MB / 408.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.7372, allocations: 85.55 kB / 408.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.739, allocations: 0.6859 MB / 409.6 MB, free: 9.684 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.7392, allocations: 29.64 kB / 409.7 MB, free: 9.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/0.7398, allocations: 0.5099 MB / 410.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/0.7402, allocations: 284.2 kB / 410.4 MB, free: 9.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.7404, allocations: 0 / 410.4 MB, free: 9.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002774/0.7406, allocations: 393 kB / 410.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009314/0.7416, allocations: 282.8 kB / 411.1 MB, free: 8.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.7427, allocations: 442 kB / 411.5 MB, free: 8.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.7437, allocations: 318.5 kB / 411.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.7437, allocations: 0 / 411.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002816/0.7465, allocations: 0.8376 MB / 412.7 MB, free: 7.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-05/0.7467, allocations: 37.69 kB / 412.7 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.7467, allocations: 4 kB / 412.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/0.7467, allocations: 8 kB / 412.7 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/0.7502, allocations: 346.5 kB / 413.1 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.812e-05/0.7503, allocations: 19.88 kB / 413.1 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.7525, allocations: 103.8 kB / 413.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.7527, allocations: 41.8 kB / 413.2 MB, free: 6.867 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.0003227/0.753, allocations: 127.9 kB / 413.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002041/0.7551, allocations: 0.6225 MB / 414 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.7554, allocations: 86.97 kB / 414.1 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.7565, allocations: 328.7 kB / 414.4 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.7566, allocations: 8 kB / 414.4 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.7566, allocations: 4 kB / 414.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.7566, allocations: 3.984 kB / 414.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007279/0.7639, allocations: 2.665 MB / 417.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/0.764, allocations: 15.95 kB / 417.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/0.7663, allocations: 267.4 kB / 417.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.423e-05/0.7664, allocations: 16 kB / 417.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/0.7665, allocations: 19.94 kB / 417.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-05/0.7665, allocations: 23.92 kB / 417.4 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-05/0.7665, allocations: 19.94 kB / 417.4 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.7693, allocations: 1.62 MB / 419 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.7698, allocations: 196 kB / 419.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.77, allocations: 16 kB / 419.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.7715, allocations: 67.94 kB / 419.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.7717, allocations: 95.69 kB / 419.4 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.7719, allocations: 32 kB / 419.4 MB, free: 1.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001233/0.7731, allocations: 0.5264 MB / 420 MB, free: 0.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.7731, allocations: 0 / 420 MB, free: 0.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001566/0.7747, allocations: 200 kB / 420.2 MB, free: 0.5547 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.005276/0.78, allocations: 5.489 MB / 425.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.7822, allocations: 0.7224 MB / 426.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.7822, allocations: 0 / 426.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.7834, allocations: 379.6 kB / 426.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.7853, allocations: 164.6 kB / 426.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/0.7912, allocations: 1.635 MB / 428.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.7923, allocations: 1.057 MB / 429.6 MB, free: 6.613 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001247/0.7936, allocations: 114.7 kB / 429.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.7947, allocations: 387.3 kB / 430.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7947, allocations: 0 / 430.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08703/0.8817, allocations: 16.92 MB / 447 MB, free: 5.223 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003846/0.8822, allocations: 222.7 kB / 447.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.698/4.58, allocations: 0 / 447.2 MB, free: 4.926 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat does not exist to compare? outputFormat=mat