Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 195.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 48.31 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2494, allocations: 46.62 MB / 324.7 MB, free: 2.285 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008776/0.2582, allocations: 6.228 MB / 330.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.2629, allocations: 1.849 MB / 332.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.2645, allocations: 19.69 kB / 332.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008386/0.2654, allocations: 162.8 kB / 332.9 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.2666, allocations: 352.4 kB / 333.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/0.2674, allocations: 337 kB / 333.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001688/0.2691, allocations: 1.376 MB / 335 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006537/0.2698, allocations: 448.6 kB / 335.4 MB, free: 9.629 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005744/0.2704, allocations: 462.2 kB / 335.9 MB, free: 9.176 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005332/0.2709, allocations: 0.5444 MB / 336.4 MB, free: 8.629 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.2711, allocations: 79.94 kB / 336.5 MB, free: 8.551 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.2712, allocations: 76 kB / 336.6 MB, free: 8.477 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.2714, allocations: 215.1 kB / 336.8 MB, free: 8.266 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005839/0.272, allocations: 0.5675 MB / 337.3 MB, free: 7.695 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.2736, allocations: 1.771 MB / 339.1 MB, free: 5.918 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2736, allocations: 0 / 339.1 MB, free: 5.918 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2736, allocations: 0 / 339.1 MB, free: 5.918 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.2737, allocations: 3.938 kB / 339.1 MB, free: 5.914 MB / 270.1 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.002962/0.2766, allocations: 1.442 MB / 340.6 MB, free: 4.418 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2767, allocations: 16.03 kB / 340.6 MB, free: 4.402 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.2769, allocations: 119.5 kB / 340.7 MB, free: 4.285 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.278, allocations: 0.6689 MB / 341.4 MB, free: 3.574 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.2781, allocations: 74.56 kB / 341.4 MB, free: 3.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.2782, allocations: 104.3 kB / 341.5 MB, free: 3.398 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.2801, allocations: 1.009 MB / 342.5 MB, free: 2.379 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.2801, allocations: 4 kB / 342.5 MB, free: 2.375 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/0.2802, allocations: 40 kB / 342.6 MB, free: 2.336 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.2802, allocations: 24 kB / 342.6 MB, free: 2.312 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.282, allocations: 0.864 MB / 343.5 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004906/0.287, allocations: 3.329 MB / 346.8 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.2884, allocations: 0.8218 MB / 347.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008764/0.2893, allocations: 471.2 kB / 348.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.2894, allocations: 21.14 kB / 348.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.2894, allocations: 43.12 kB / 348.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.655e-06/0.2894, allocations: 3.938 kB / 348.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.009471/0.2989, allocations: 4.285 MB / 352.4 MB, free: 8.125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.299, allocations: 89.77 kB / 352.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.2998, allocations: 0.6046 MB / 353.1 MB, free: 7.402 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.2999, allocations: 45.7 kB / 353.2 MB, free: 7.352 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.3002, allocations: 424.2 kB / 353.6 MB, free: 6.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.3005, allocations: 402.2 kB / 354 MB, free: 6.531 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.3008, allocations: 178.9 kB / 354.2 MB, free: 6.352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.301, allocations: 394.7 kB / 354.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008353/0.3018, allocations: 382.4 kB / 354.9 MB, free: 5.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/0.3027, allocations: 0.5119 MB / 355.4 MB, free: 5.039 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.3044, allocations: 0.8887 MB / 356.3 MB, free: 4.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3044, allocations: 4 kB / 356.3 MB, free: 4.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00238/0.3068, allocations: 1.188 MB / 357.5 MB, free: 2.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3069, allocations: 4 kB / 357.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3069, allocations: 4 kB / 357.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004196/0.3073, allocations: 134.7 kB / 357.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.3084, allocations: 255.6 kB / 357.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/0.3122, allocations: 4.528 MB / 362.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.3129, allocations: 55.95 kB / 362.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.313, allocations: 40.05 kB / 362.5 MB, free: 13.49 MB / 302.1 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 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004493/0.3134, allocations: 277.6 kB / 362.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.3136, allocations: 86.97 kB / 362.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.3151, allocations: 0.7644 MB / 363.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3151, allocations: 12 kB / 363.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3151, allocations: 4 kB / 363.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.3152, allocations: 11.97 kB / 363.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.3191, allocations: 2.667 MB / 366.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3191, allocations: 7.938 kB / 366.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008847/0.32, allocations: 203.7 kB / 366.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/0.3205, allocations: 159.3 kB / 366.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.3205, allocations: 27.98 kB / 366.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003811/0.3244, allocations: 5.56 MB / 372.3 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3244, allocations: 0 / 372.3 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.3276, allocations: 1.743 MB / 374 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.3278, allocations: 164 kB / 374.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.328, allocations: 24 kB / 374.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/0.3286, allocations: 52.08 kB / 374.3 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.3288, allocations: 88.33 kB / 374.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.3288, allocations: 31.98 kB / 374.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005962/0.3294, allocations: 443.1 kB / 374.8 MB, free: 472 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3294, allocations: 0 / 374.8 MB, free: 472 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009376/0.3304, allocations: 256 kB / 375.1 MB, free: 212 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.3306, allocations: 127.1 kB / 375.2 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.3332, allocations: 1.326 MB / 376.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.3333, allocations: 4.625 kB / 376.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.3348, allocations: 1.017 MB / 377.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3358, allocations: 177.9 kB / 377.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.3406, allocations: 2.591 MB / 380.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/0.3414, allocations: 1.024 MB / 381.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006355/0.3421, allocations: 119.6 kB / 381.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3423, allocations: 71.42 kB / 381.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3423, allocations: 0 / 381.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of Templates: time 0.01823/0.3606, allocations: 11.29 MB / 392.8 MB, free: 14.29 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)