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.342/2.342, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.492e-05, allocations: 2.844 kB / 249.8 MB, free: 5.223 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.5872, allocations: 86.76 MB / 381.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.5875, allocations: 84.92 kB / 381.1 MB, free: 5.961 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.4042/0.9917, allocations: 76.58 MB / 457.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.9918, allocations: 0 / 457.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001187/0.993, allocations: 112 kB / 457.8 MB, free: 13.25 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.01994/1.013, allocations: 5.597 MB / 463.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/1.013, allocations: 12.03 kB / 463.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/1.016, allocations: 0.8563 MB / 464.3 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/1.031, allocations: 3.586 MB / 467.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/1.031, allocations: 72 kB / 468 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006824/1.032, allocations: 127.9 kB / 468.1 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006737/1.039, allocations: 1.68 MB / 469.8 MB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007173/1.046, allocations: 1.729 MB / 471.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.65e-05/1.046, allocations: 7.891 kB / 471.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/1.046, allocations: 4 kB / 471.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/1.047, allocations: 48 kB / 471.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03479/1.081, allocations: 9.743 MB / 481.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006527/1.088, allocations: 2.186 MB / 483.5 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004704/1.093, allocations: 1.253 MB / 484.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/1.093, allocations: 38.59 kB / 484.8 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003844/1.097, allocations: 1.039 MB / 485.8 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=246): time 7.374e-06/1.097, allocations: 4 kB / 485.8 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of matching and sorting (n=382): time 0.4804/1.577, allocations: 16.56 MB / 0.4906 GB, free: 90.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/1.578, allocations: 274.6 kB / 0.4909 GB, free: 90.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2678/1.846, allocations: 12.89 MB / 0.5034 GB, free: 90.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008813/1.846, allocations: 27.8 kB / 0.5035 GB, free: 90.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007615/1.854, allocations: 3.716 MB / 0.5071 GB, free: 89.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.856, allocations: 1.207 MB / 0.5083 GB, free: 89.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/1.857, allocations: 2.906 kB / 0.5083 GB, free: 89.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000313/1.857, allocations: 437.8 kB / 0.5087 GB, free: 89.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/1.862, allocations: 1.223 MB / 0.5099 GB, free: 89.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004991/1.867, allocations: 1.543 MB / 0.5114 GB, free: 89.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/1.872, allocations: 1.423 MB / 0.5128 GB, free: 88.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-05/1.872, allocations: 2.688 kB / 0.5128 GB, free: 88.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.02251/1.895, allocations: 5.021 MB / 0.5177 GB, free: 86.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/1.895, allocations: 40.44 kB / 0.5177 GB, free: 86.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/1.895, allocations: 3.875 kB / 0.5177 GB, free: 86.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/1.906, allocations: 1.372 MB / 0.5191 GB, free: 86.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006746/1.913, allocations: 0.5728 MB / 0.5196 GB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04255/1.955, allocations: 21.42 MB / 0.5406 GB, free: 69.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006935/1.962, allocations: 131.8 kB / 0.5407 GB, free: 69.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.964, allocations: 124.1 kB / 0.5408 GB, free: 69.91 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.001238/1.965, allocations: 161.8 kB / 0.541 GB, free: 69.8 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02004/1.985, allocations: 4.717 MB / 0.5456 GB, free: 67.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003236/1.988, allocations: 0.8498 MB / 0.5464 GB, free: 67.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02162/2.01, allocations: 5.121 MB / 0.5514 GB, free: 65.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009517/2.019, allocations: 2.239 MB / 0.5536 GB, free: 64.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.83e-05/2.019, allocations: 3.812 kB / 0.5536 GB, free: 64.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000117/2.02, allocations: 21.41 kB / 0.5536 GB, free: 64.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06117/2.081, allocations: 13.46 MB / 0.5668 GB, free: 56.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-05/2.081, allocations: 6.75 kB / 0.5668 GB, free: 56.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008383/2.089, allocations: 0.4918 MB / 0.5672 GB, free: 56.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0165/2.106, allocations: 1.409 MB / 0.5686 GB, free: 55.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/2.107, allocations: 26.97 kB / 0.5686 GB, free: 55.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04451/2.151, allocations: 19.65 MB / 0.5878 GB, free: 35.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1118/2.263, allocations: 26.44 MB / 0.6136 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0266/2.29, allocations: 7.526 MB / 0.621 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007113/2.297, allocations: 1.93 MB / 0.6229 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002605/2.3, allocations: 27.56 kB / 0.6229 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006283/2.306, allocations: 113.5 kB / 0.623 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001515/2.308, allocations: 288.6 kB / 0.6233 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004637/2.308, allocations: 106.5 kB / 0.6234 GB, free: 2.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.04672/2.355, allocations: 11.22 MB / 0.6344 GB, free: 11.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.355, allocations: 0 / 0.6344 GB, free: 11.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01087/2.366, allocations: 1.602 MB / 0.6359 GB, free: 9.715 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET4777238921.x[2],$STATESET4777238921.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET4777238920.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.03311/2.399, allocations: 8.727 MB / 0.6444 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.3626/2.762, allocations: 4.696 MB / 0.649 GB, free: 97.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/2.762, allocations: 0 / 0.649 GB, free: 97.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00927/2.771, allocations: 3.215 MB / 0.6522 GB, free: 96.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00584/2.777, allocations: 411.1 kB / 0.6526 GB, free: 96.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05686/2.834, allocations: 18.77 MB / 0.6709 GB, free: 93.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009752/2.844, allocations: 4.217 MB / 0.675 GB, free: 92.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005495/2.849, allocations: 0.831 MB / 0.6758 GB, free: 92.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009364/2.858, allocations: 3.432 MB / 0.6792 GB, free: 92.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/2.859, allocations: 0 / 0.6792 GB, free: 92.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/3.923, allocations: 155.6 MB / 0.8312 GB, free: 106.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003527/3.923, allocations: 212.2 kB / 0.8314 GB, free: 106.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 13.29/17.22, allocations: 0 / 0.8314 GB, free: 106.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke_res.mat does not exist to compare? outputFormat=mat