Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001075/0.001075, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001286/0.001287, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0005748/0.0005751, allocations: 11.98 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2685, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.005997/0.2746, allocations: 5.123 MB / 331.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004279/0.2789, allocations: 2.076 MB / 333.6 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009321/0.2798, allocations: 15.16 kB / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007024/0.2805, allocations: 286.8 kB / 333.9 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.2819, allocations: 0.4969 MB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.2828, allocations: 270.3 kB / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.2844, allocations: 0.9374 MB / 335.6 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.285, allocations: 380.6 kB / 336 MB, free: 9.961 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.2857, allocations: 458.3 kB / 336.5 MB, free: 9.512 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.2863, allocations: 0.5368 MB / 337 MB, free: 8.973 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.2864, allocations: 64 kB / 337.1 MB, free: 8.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.2866, allocations: 83.92 kB / 337.1 MB, free: 8.828 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2868, allocations: 211.2 kB / 337.3 MB, free: 8.621 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.2871, allocations: 245.1 kB / 337.6 MB, free: 8.375 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.2883, allocations: 1.515 MB / 339.1 MB, free: 6.855 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2883, allocations: 7.938 kB / 339.1 MB, free: 6.848 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2883, allocations: 0 / 339.1 MB, free: 6.848 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.2883, allocations: 0 / 339.1 MB, free: 6.848 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.002782/0.2911, allocations: 1.383 MB / 340.5 MB, free: 5.414 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2912, allocations: 11.97 kB / 340.5 MB, free: 5.402 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002174/0.2914, allocations: 138.4 kB / 340.6 MB, free: 5.266 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.2926, allocations: 0.6766 MB / 341.3 MB, free: 4.547 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.2928, allocations: 77.94 kB / 341.4 MB, free: 4.469 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.2929, allocations: 99.89 kB / 341.5 MB, free: 4.371 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.2949, allocations: 1.029 MB / 342.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/0.295, allocations: 4 kB / 342.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.2951, allocations: 36 kB / 342.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.2951, allocations: 24 kB / 342.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.2971, allocations: 0.9421 MB / 343.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005417/0.3025, allocations: 3.68 MB / 347.2 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.3057, allocations: 1.1 MB / 348.3 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.459e-05/0.3058, allocations: 8.188 kB / 348.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.3059, allocations: 46.69 kB / 348.3 MB, free: 13.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 3.266e-06/0.3059, allocations: 0 / 348.3 MB, free: 13.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.005017/0.3109, allocations: 1.97 MB / 350.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.311, allocations: 85.09 kB / 350.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.3123, allocations: 0.9702 MB / 351.4 MB, free: 10.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.3124, allocations: 37.7 kB / 351.4 MB, free: 10.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.3127, allocations: 0.526 MB / 351.9 MB, free: 9.648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.3129, allocations: 228.7 kB / 352.2 MB, free: 9.422 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.313, allocations: 20 kB / 352.2 MB, free: 9.402 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3131, allocations: 337.9 kB / 352.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.3141, allocations: 377.8 kB / 352.9 MB, free: 8.699 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.3151, allocations: 0.5575 MB / 353.4 MB, free: 8.062 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.3161, allocations: 421.9 kB / 353.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3161, allocations: 0 / 353.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002419/0.3185, allocations: 1.088 MB / 354.9 MB, free: 6.555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3186, allocations: 8 kB / 354.9 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.3186, allocations: 7.984 kB / 354.9 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.3186, allocations: 8 kB / 355 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.3199, allocations: 327.6 kB / 355.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/0.32, allocations: 27.75 kB / 355.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009633/0.321, allocations: 87.92 kB / 355.4 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.321, allocations: 39.98 kB / 355.4 MB, free: 6.059 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_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 initialization (108): * Single equations (assignments): 108 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005915/0.3216, allocations: 281.6 kB / 355.7 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.3219, allocations: 98.78 kB / 355.8 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.323, allocations: 418.2 kB / 356.2 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.323, allocations: 12 kB / 356.2 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3231, allocations: 0 / 356.2 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.3231, allocations: 7.938 kB / 356.2 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.3272, allocations: 2.341 MB / 358.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.3272, allocations: 8 kB / 358.6 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/0.3281, allocations: 235.8 kB / 358.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/0.3282, allocations: 8 kB / 358.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.3282, allocations: 27.92 kB / 358.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/0.3282, allocations: 19.94 kB / 358.9 MB, free: 2.465 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/0.3282, allocations: 15.94 kB / 358.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.3303, allocations: 1.388 MB / 360.3 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.3307, allocations: 191.8 kB / 360.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.3308, allocations: 27.94 kB / 360.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006533/0.3315, allocations: 55.95 kB / 360.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3316, allocations: 71.77 kB / 360.6 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.3316, allocations: 27.98 kB / 360.6 MB, free: 408 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.3326, allocations: 0.6747 MB / 361.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3327, allocations: 4 kB / 361.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009574/0.3336, allocations: 212 kB / 361.5 MB, free: 15.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009891/0.3346, allocations: 369.8 kB / 361.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.3367, allocations: 0.8233 MB / 362.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3367, allocations: 0 / 362.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008619/0.3376, allocations: 393.8 kB / 363.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.3387, allocations: 171.2 kB / 363.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.3428, allocations: 2.256 MB / 365.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/0.3436, allocations: 1.042 MB / 366.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006245/0.3442, allocations: 127.2 kB / 366.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.3445, allocations: 75.41 kB / 366.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3445, allocations: 3.938 kB / 366.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Templates: time 0.01792/0.3624, allocations: 9.5 MB / 376.3 MB, free: 0.6133 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) Environment - environmentSimulation: