Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.494e-05, allocations: 2.125 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09564, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4965/0.5922, allocations: 81.84 MB / 376.1 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003945/0.5927, allocations: 80.91 kB / 376.2 MB, free: 7.191 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.1802/0.7729, allocations: 35.34 MB / 411.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.773, allocations: 0 / 411.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001259/0.7731, allocations: 20 kB / 411.6 MB, free: 8.719 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.005287/0.7784, allocations: 1.139 MB / 412.7 MB, free: 7.602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.7785, allocations: 12.03 kB / 412.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000697/0.7792, allocations: 118.6 kB / 412.8 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.7813, allocations: 0.5972 MB / 413.4 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.7816, allocations: 57.88 kB / 413.5 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/0.7821, allocations: 59.44 kB / 413.6 MB, free: 6.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003084/0.7852, allocations: 0.7239 MB / 414.3 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/0.7887, allocations: 0.8045 MB / 415.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.7e-05/0.7889, allocations: 15.22 kB / 415.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.789, allocations: 0 / 415.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/0.7891, allocations: 24 kB / 415.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.801, allocations: 3.394 MB / 418.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.8038, allocations: 0.7396 MB / 419.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.806, allocations: 428.5 kB / 419.7 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.8062, allocations: 18.27 kB / 419.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.294e-05/0.8063, allocations: 47.11 kB / 419.7 MB, free: 2.012 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 6.522e-06/0.8063, allocations: 0 / 419.7 MB, free: 2.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.0198/0.8262, allocations: 3.665 MB / 423.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.8263, allocations: 90.33 kB / 423.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.8279, allocations: 466.1 kB / 423.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.8283, allocations: 29.7 kB / 424 MB, free: 13.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/0.829, allocations: 432.3 kB / 424.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009412/0.83, allocations: 427.4 kB / 424.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.8302, allocations: 0 / 424.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004265/0.8307, allocations: 394.7 kB / 425.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.8325, allocations: 346.6 kB / 425.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.8347, allocations: 482 kB / 426 MB, free: 11.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.8367, allocations: 401.2 kB / 426.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.8368, allocations: 0 / 426.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.005903/0.8427, allocations: 1.105 MB / 427.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.8428, allocations: 4 kB / 427.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.8429, allocations: 4 kB / 427.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.844, allocations: 142.6 kB / 427.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/0.848, allocations: 291.6 kB / 427.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009354/0.8574, allocations: 4.607 MB / 432.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.86, allocations: 59.97 kB / 432.6 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004223/0.8605, allocations: 39.98 kB / 432.6 MB, free: 4.473 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 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005488/0.8611, allocations: 141.8 kB / 432.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005266/0.8664, allocations: 0.9763 MB / 433.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/0.8671, allocations: 94.86 kB / 433.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/0.8709, allocations: 0.7051 MB / 434.6 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/0.871, allocations: 12 kB / 434.6 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-05/0.871, allocations: 4 kB / 434.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.433e-05/0.8711, allocations: 7.922 kB / 434.6 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.8838, allocations: 2.746 MB / 437.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/0.8839, allocations: 4 kB / 437.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/0.8875, allocations: 256 kB / 437.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008813/0.8884, allocations: 126.4 kB / 437.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/0.8887, allocations: 15.98 kB / 437.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006124/0.8949, allocations: 4.226 MB / 441.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.8949, allocations: 4.031 kB / 441.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/0.9007, allocations: 1.845 MB / 443.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005055/0.9013, allocations: 164.1 kB / 443.9 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/0.9018, allocations: 11.98 kB / 444 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/0.9038, allocations: 55.95 kB / 444 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004755/0.9043, allocations: 92.55 kB / 444.1 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/0.9045, allocations: 39.98 kB / 444.1 MB, free: 8.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009717/0.9055, allocations: 355 kB / 444.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.9055, allocations: 4 kB / 444.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002515/0.908, allocations: 224 kB / 444.7 MB, free: 7.797 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.00698/0.9151, allocations: 3.183 MB / 447.9 MB, free: 4.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004612/0.9197, allocations: 1.293 MB / 449.2 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.9198, allocations: 4 kB / 449.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002714/0.9225, allocations: 0.8632 MB / 450.1 MB, free: 2.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.9247, allocations: 130.8 kB / 450.2 MB, free: 2.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008512/0.9333, allocations: 1.856 MB / 452 MB, free: 240 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.9346, allocations: 1.056 MB / 453.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001471/0.9361, allocations: 119.6 kB / 453.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.9376, allocations: 391.3 kB / 453.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of SimCode: time 1.823e-06/0.9376, allocations: 0 / 453.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09947/1.037, allocations: 18.6 MB / 472.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003775/1.038, allocations: 174.7 kB / 472.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.9/4.937, allocations: 0 / 472.4 MB, free: 11.9 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat does not exist to compare? outputFormat=mat