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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2389/2.072, allocations: 46.83 MB / 249.4 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/2.164, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3041/2.468, allocations: 81.77 MB / 375.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/2.469, allocations: 82 kB / 375.8 MB, free: 7.156 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: 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.1727/2.642, allocations: 36.43 MB / 412.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/2.642, allocations: 12 kB / 412.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004234/2.642, allocations: 118.6 kB / 412.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/2.644, allocations: 0.6037 MB / 412.9 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/2.644, allocations: 53.92 kB / 413 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/2.644, allocations: 67.7 kB / 413 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00267/2.647, allocations: 0.7282 MB / 413.8 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/2.65, allocations: 0.8072 MB / 414.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-05/2.65, allocations: 6.781 kB / 414.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/2.65, allocations: 0 / 414.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/2.65, allocations: 24 kB / 414.6 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009903/2.66, allocations: 3.389 MB / 418 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/2.661, allocations: 497.2 kB / 418.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/2.663, allocations: 436.1 kB / 418.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/2.663, allocations: 23.39 kB / 418.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/2.663, allocations: 42.81 kB / 419 MB, free: 2.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.787e-06/2.663, allocations: 0 / 419 MB, free: 2.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01409/2.677, allocations: 3.617 MB / 422.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/2.677, allocations: 98.2 kB / 422.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/2.678, allocations: 470.1 kB / 423.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/2.679, allocations: 25.7 kB / 423.2 MB, free: 14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/2.679, allocations: 352.2 kB / 423.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000556/2.679, allocations: 429.2 kB / 423.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/2.68, allocations: 0 / 423.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002412/2.68, allocations: 394.6 kB / 424.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/2.681, allocations: 346.6 kB / 424.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/2.682, allocations: 478 kB / 425.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/2.684, allocations: 405.2 kB / 425.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/2.684, allocations: 0 / 425.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003904/2.688, allocations: 1.103 MB / 426.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/2.688, allocations: 7.984 kB / 426.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/2.688, allocations: 4 kB / 426.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008066/2.689, allocations: 146.5 kB / 426.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/2.692, allocations: 299.6 kB / 427.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/2.698, allocations: 4.536 MB / 431.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/2.7, allocations: 64.02 kB / 431.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/2.7, allocations: 43.92 kB / 431.7 MB, free: 5.039 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.0003547/2.701, allocations: 127.7 kB / 431.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/2.701, allocations: 94.86 kB / 431.9 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/2.704, allocations: 0.7045 MB / 432.6 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/2.704, allocations: 12 kB / 432.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/2.704, allocations: 7.906 kB / 432.7 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/2.704, allocations: 7.984 kB / 432.7 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008013/2.712, allocations: 2.744 MB / 435.4 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/2.712, allocations: 4 kB / 435.4 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/2.714, allocations: 263.9 kB / 435.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007782/2.715, allocations: 122.5 kB / 435.8 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/2.715, allocations: 11.98 kB / 435.8 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005312/2.721, allocations: 4.161 MB / 440 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/2.721, allocations: 4.125 kB / 440 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00555/2.726, allocations: 1.863 MB / 441.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007089/2.733, allocations: 2.748 MB / 444.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/2.734, allocations: 172 kB / 444.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/2.734, allocations: 8.312 kB / 444.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/2.736, allocations: 59.95 kB / 444.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/2.736, allocations: 88.39 kB / 444.9 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/2.736, allocations: 35.98 kB / 444.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0008513/2.737, allocations: 358.9 kB / 445.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002885/2.74, allocations: 224 kB / 445.5 MB, free: 6.543 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.0003795/2.741, allocations: 139.6 kB / 445.6 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003899/2.744, allocations: 1.261 MB / 446.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/2.745, allocations: 0 / 446.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/2.747, allocations: 0.8404 MB / 447.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/2.749, allocations: 133.8 kB / 447.9 MB, free: 4.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00701/2.756, allocations: 1.758 MB / 449.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/2.757, allocations: 1.17 MB / 450.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of SimCode: time 1.462e-06/2.757, allocations: 0 / 450.8 MB, free: 1.102 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.ArmatureStroke_res.mat does not exist to compare? outputFormat=mat