Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.43/1.43, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001333/0.001333, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2096, allocations: 46.63 MB / 325.3 MB, free: 2.004 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007268/0.217, allocations: 6.345 MB / 331.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.2204, allocations: 2.124 MB / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.2208, allocations: 20.47 kB / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.2216, allocations: 361.4 kB / 334.2 MB, free: 10.96 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00101/0.2226, allocations: 476.7 kB / 334.6 MB, free: 10.58 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008217/0.2235, allocations: 426.6 kB / 335 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2249, allocations: 1.531 MB / 336.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/0.2256, allocations: 0.5169 MB / 337.1 MB, free: 8.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/0.2261, allocations: 0.5724 MB / 337.7 MB, free: 7.652 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.2268, allocations: 0.6653 MB / 338.3 MB, free: 6.984 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.227, allocations: 160 kB / 338.5 MB, free: 6.828 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.2272, allocations: 188 kB / 338.7 MB, free: 6.645 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.2275, allocations: 323 kB / 339 MB, free: 6.328 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005387/0.2281, allocations: 0.6649 MB / 339.6 MB, free: 5.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.2296, allocations: 1.916 MB / 341.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2296, allocations: 0 / 341.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2296, allocations: 0 / 341.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.2297, allocations: 0 / 341.6 MB, free: 3.738 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002869/0.2325, allocations: 1.539 MB / 343.1 MB, free: 2.145 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2326, allocations: 11.89 kB / 343.1 MB, free: 2.133 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.2328, allocations: 127.4 kB / 343.2 MB, free: 2.008 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.2338, allocations: 0.7084 MB / 343.9 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.234, allocations: 74.56 kB / 344 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.2341, allocations: 107.8 kB / 344.1 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.2359, allocations: 1.017 MB / 345.1 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.236, allocations: 0 / 345.1 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.2361, allocations: 43.98 kB / 345.2 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.2361, allocations: 24.05 kB / 345.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.2381, allocations: 0.8874 MB / 346.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004996/0.2431, allocations: 3.652 MB / 349.7 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.2461, allocations: 0.8961 MB / 350.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.2469, allocations: 369.5 kB / 351 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.247, allocations: 8 kB / 351 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.247, allocations: 39.16 kB / 351 MB, free: 9.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 2.354e-06/0.247, allocations: 0 / 351 MB, free: 9.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.004873/0.2519, allocations: 1.792 MB / 352.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.252, allocations: 81.11 kB / 352.9 MB, free: 8.027 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.2532, allocations: 0.9741 MB / 353.9 MB, free: 7.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.2532, allocations: 37.7 kB / 353.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.2536, allocations: 0.526 MB / 354.5 MB, free: 6.469 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.2537, allocations: 236.6 kB / 354.7 MB, free: 6.234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.254, allocations: 166.4 kB / 354.8 MB, free: 6.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2541, allocations: 338 kB / 355.2 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009187/0.255, allocations: 337.8 kB / 355.5 MB, free: 5.402 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.2561, allocations: 0.5339 MB / 356 MB, free: 4.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.2579, allocations: 0.8327 MB / 356.9 MB, free: 3.883 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2579, allocations: 8 kB / 356.9 MB, free: 3.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002294/0.2602, allocations: 1.013 MB / 357.9 MB, free: 2.855 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2602, allocations: 8 kB / 357.9 MB, free: 2.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2602, allocations: 4 kB / 357.9 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.2603, allocations: 12 kB / 357.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.2615, allocations: 283.6 kB / 358.2 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.2616, allocations: 11.94 kB / 358.2 MB, free: 2.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.2624, allocations: 71.92 kB / 358.3 MB, free: 2.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.2625, allocations: 35.98 kB / 358.3 MB, free: 2.438 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004197/0.2629, allocations: 281.6 kB / 358.6 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.263, allocations: 106.7 kB / 358.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.2633, allocations: 100.9 kB / 358.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2633, allocations: 8 kB / 358.8 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2633, allocations: 0 / 358.8 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2633, allocations: 3.984 kB / 358.8 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.267, allocations: 2.301 MB / 361.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.2671, allocations: 8 kB / 361.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008692/0.2679, allocations: 208 kB / 361.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.268, allocations: 16 kB / 361.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.268, allocations: 23.98 kB / 361.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.268, allocations: 11.94 kB / 361.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.2681, allocations: 11.94 kB / 361.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.2697, allocations: 1.029 MB / 362.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.2699, allocations: 191.8 kB / 362.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.27, allocations: 16 kB / 362.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.2706, allocations: 59.89 kB / 362.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2708, allocations: 59.81 kB / 362.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.2708, allocations: 31.98 kB / 362.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008005/0.2716, allocations: 0.6864 MB / 363.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2716, allocations: 0 / 363.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007435/0.2724, allocations: 204 kB / 363.6 MB, free: 12.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008604/0.2732, allocations: 382.5 kB / 364 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.2752, allocations: 0.7886 MB / 364.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2752, allocations: 3.938 kB / 364.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.276, allocations: 373.2 kB / 365.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.2772, allocations: 199.1 kB / 365.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.2802, allocations: 1.925 MB / 367.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.2808, allocations: 1.018 MB / 368.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005188/0.2813, allocations: 123.2 kB / 368.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.2816, allocations: 67.42 kB / 368.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2816, allocations: 7.938 kB / 368.5 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Templates: time 0.01751/0.2991, allocations: 10.57 MB / 379.1 MB, free: 13.23 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)