Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonPullInStroke",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.566/2.566, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.31e-05, allocations: 2.75 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1534, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6573/0.8108, allocations: 86.76 MB / 381 MB, free: 5.797 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.8111, allocations: 85.52 kB / 381.1 MB, free: 5.785 MB / 298.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.4297/1.241, allocations: 76.75 MB / 457.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.241, allocations: 0 / 457.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001403/1.242, allocations: 115.8 kB / 458 MB, free: 12.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.02187/1.264, allocations: 5.594 MB / 463.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/1.264, allocations: 12.03 kB / 463.6 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001358/1.266, allocations: 203.4 kB / 463.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/1.269, allocations: 0.8602 MB / 464.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/1.287, allocations: 3.591 MB / 468.2 MB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/1.287, allocations: 92.14 kB / 468.3 MB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/1.288, allocations: 124 kB / 468.4 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008566/1.297, allocations: 1.68 MB / 470.1 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008945/1.306, allocations: 1.729 MB / 471.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/1.306, allocations: 3.906 kB / 471.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003655/1.307, allocations: 4 kB / 471.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.198e-05/1.307, allocations: 48 kB / 471.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0416/1.348, allocations: 9.743 MB / 481.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007628/1.356, allocations: 2.194 MB / 483.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005415/1.361, allocations: 1.249 MB / 485.1 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/1.362, allocations: 38.55 kB / 485.1 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004509/1.366, allocations: 1.035 MB / 486.2 MB, free: 248 kB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 9.688e-06/1.367, allocations: 0 / 486.2 MB, free: 248 kB / 378.7 MB Notification: Performance of matching and sorting (n=382): time 0.548/1.915, allocations: 16.56 MB / 0.4909 GB, free: 92.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/1.915, allocations: 282.5 kB / 0.4912 GB, free: 91.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3127/2.227, allocations: 12.89 MB / 0.5038 GB, free: 91.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001271/2.229, allocations: 28.67 kB / 0.5038 GB, free: 91.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0125/2.241, allocations: 3.709 MB / 0.5075 GB, free: 91.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003592/2.245, allocations: 1.211 MB / 0.5086 GB, free: 90.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/2.247, allocations: 0 / 0.5086 GB, free: 90.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006889/2.247, allocations: 435.5 kB / 0.5091 GB, free: 90.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008049/2.255, allocations: 1.231 MB / 0.5103 GB, free: 90.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008783/2.264, allocations: 1.539 MB / 0.5118 GB, free: 90.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008114/2.272, allocations: 1.423 MB / 0.5131 GB, free: 90.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-05/2.273, allocations: 3.562 kB / 0.5132 GB, free: 90.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.03627/2.309, allocations: 5.02 MB / 0.5181 GB, free: 88.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/2.309, allocations: 38.48 kB / 0.5181 GB, free: 88.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/2.309, allocations: 6.109 kB / 0.5181 GB, free: 88.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01858/2.328, allocations: 1.367 MB / 0.5194 GB, free: 87.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/2.338, allocations: 0.5774 MB / 0.52 GB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07457/2.413, allocations: 21.43 MB / 0.5409 GB, free: 71.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.424, allocations: 127.8 kB / 0.541 GB, free: 71.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/2.426, allocations: 127 kB / 0.5412 GB, free: 71.35 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {3 42,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.002113/2.428, allocations: 161.3 kB / 0.5413 GB, free: 71.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005046/2.433, allocations: 0.8437 MB / 0.5421 GB, free: 70.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03835/2.472, allocations: 5.127 MB / 0.5472 GB, free: 68.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0169/2.489, allocations: 2.235 MB / 0.5493 GB, free: 68.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-05/2.489, allocations: 3.281 kB / 0.5493 GB, free: 68.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000189/2.489, allocations: 19.22 kB / 0.5494 GB, free: 68.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08243/2.571, allocations: 13.46 MB / 0.5625 GB, free: 62.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.306e-05/2.572, allocations: 0 / 0.5625 GB, free: 62.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009302/2.581, allocations: 0.4925 MB / 0.563 GB, free: 61.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01913/2.6, allocations: 1.406 MB / 0.5644 GB, free: 60.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001317/2.601, allocations: 35.05 kB / 0.5644 GB, free: 60.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0688/2.67, allocations: 19.66 MB / 0.5836 GB, free: 41.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1882/2.859, allocations: 26.43 MB / 0.6094 GB, free: 17.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04591/2.905, allocations: 7.521 MB / 0.6167 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01243/2.917, allocations: 1.928 MB / 0.6186 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004261/2.921, allocations: 31.56 kB / 0.6187 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01036/2.932, allocations: 113.5 kB / 0.6188 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002157/2.934, allocations: 284.8 kB / 0.619 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001108/2.935, allocations: 106.5 kB / 0.6191 GB, free: 7.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.03812/2.973, allocations: 10.28 MB / 0.6292 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.563e-06/2.973, allocations: 3.938 kB / 0.6292 GB, free: 14.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01537/2.989, allocations: 1.6 MB / 0.6307 GB, free: 13.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET4549136777.x[2],$STATESET4549136777.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET4549136776.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.03729/3.026, allocations: 8.722 MB / 0.6393 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01693/3.043, allocations: 4.696 MB / 0.6438 GB, free: 360 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/3.043, allocations: 0 / 0.6438 GB, free: 360 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.4476/3.491, allocations: 3.301 MB / 0.6471 GB, free: 98.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007347/3.498, allocations: 426.5 kB / 0.6475 GB, free: 98.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07123/3.57, allocations: 18.77 MB / 0.6658 GB, free: 95.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01/3.58, allocations: 4.207 MB / 0.6699 GB, free: 94.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00612/3.586, allocations: 0.8348 MB / 0.6707 GB, free: 94.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01051/3.596, allocations: 3.425 MB / 0.6741 GB, free: 94.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.695e-06/3.597, allocations: 0 / 0.6741 GB, free: 94.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.305/4.902, allocations: 163.1 MB / 0.8334 GB, free: 81.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003641/4.902, allocations: 215.7 kB / 0.8336 GB, free: 80.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 15.5/20.4, allocations: 0 / 0.8336 GB, free: 80.83 MB / 426.7 MB