Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001017/0.001017, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.395/1.395, allocations: 194.3 MB / 208.4 MB, free: 6.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001845/0.001845, allocations: 112.7 kB / 253.5 MB, free: 9.539 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.216e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07837/0.07842, allocations: 44.5 MB / 349.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.3938, allocations: 84.04 MB / 433.5 MB, free: 8.711 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.3941, allocations: 85.27 kB / 433.6 MB, free: 8.699 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.05211/0.4462, allocations: 21.37 MB / 454.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4463, allocations: 0 / 454.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.925e-05/0.4463, allocations: 23.94 kB / 455 MB, free: 9.488 MB / 314.7 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.00237/0.4487, allocations: 1.246 MB / 456.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4488, allocations: 16.03 kB / 456.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.449, allocations: 126.5 kB / 456.3 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.45, allocations: 0.6455 MB / 457 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.4501, allocations: 72.94 kB / 457.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.4502, allocations: 98.38 kB / 457.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.4518, allocations: 0.9305 MB / 458.1 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.4519, allocations: 11.08 kB / 458.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.452, allocations: 49.98 kB / 458.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.452, allocations: 24 kB / 458.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.4534, allocations: 0.7686 MB / 458.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005796/0.4592, allocations: 3.861 MB / 462.8 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.4612, allocations: 0.8491 MB / 463.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.4618, allocations: 371.6 kB / 464 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.468e-05/0.4618, allocations: 16.3 kB / 464 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4619, allocations: 34.88 kB / 464.1 MB, free: 2.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 2.835e-06/0.4619, allocations: 8 kB / 464.1 MB, free: 2.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.003732/0.4656, allocations: 1.635 MB / 465.7 MB, free: 1.129 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.4657, allocations: 85.55 kB / 465.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.4667, allocations: 0.8083 MB / 466.6 MB, free: 440 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.4668, allocations: 47.75 kB / 466.6 MB, free: 396 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.4671, allocations: 0.4996 MB / 467.1 MB, free: 40 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.4673, allocations: 294.2 kB / 467.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.4674, allocations: 20.19 kB / 467.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4675, allocations: 347.1 kB / 467.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.468, allocations: 299.7 kB / 468.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.4686, allocations: 455.1 kB / 468.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.4692, allocations: 365.7 kB / 468.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4692, allocations: 0 / 468.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001586/0.4708, allocations: 0.9543 MB / 469.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.4709, allocations: 33.7 kB / 469.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4709, allocations: 7.781 kB / 469.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.4709, allocations: 8 kB / 469.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.4724, allocations: 360 kB / 470.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.4724, allocations: 8 kB / 470.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009919/0.4734, allocations: 119.9 kB / 470.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.4735, allocations: 35.98 kB / 470.4 MB, free: 13.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.0001936/0.4737, allocations: 156.8 kB / 470.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.4739, allocations: 98.78 kB / 470.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007673/0.4747, allocations: 373.9 kB / 471 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.4747, allocations: 12 kB / 471 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4747, allocations: 3.938 kB / 471 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4747, allocations: 3.984 kB / 471 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004548/0.4793, allocations: 2.881 MB / 473.9 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.4793, allocations: 16.06 kB / 473.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.4804, allocations: 267.6 kB / 474.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/0.4804, allocations: 16 kB / 474.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.4805, allocations: 31.98 kB / 474.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.204e-05/0.4805, allocations: 19.94 kB / 474.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/0.4805, allocations: 15.94 kB / 474.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.4823, allocations: 1.68 MB / 476 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.4826, allocations: 207.8 kB / 476.2 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4828, allocations: 35.98 kB / 476.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.4835, allocations: 79.88 kB / 476.3 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.4836, allocations: 91.7 kB / 476.4 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.4837, allocations: 43.98 kB / 476.4 MB, free: 6.688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008872/0.4846, allocations: 0.6124 MB / 477 MB, free: 6.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4846, allocations: 0 / 477 MB, free: 6.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009065/0.4855, allocations: 236 kB / 477.2 MB, free: 5.848 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0006562/0.4862, allocations: 278.9 kB / 477.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4875, allocations: 0.7734 MB / 478.3 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.4876, allocations: 4 kB / 478.3 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006462/0.4882, allocations: 410.3 kB / 478.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4892, allocations: 178.1 kB / 478.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.492, allocations: 1.561 MB / 480.4 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.4926, allocations: 1.049 MB / 481.5 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006263/0.4933, allocations: 135.1 kB / 481.6 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.4935, allocations: 71.41 kB / 481.7 MB, free: 1.207 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4935, allocations: 3.938 kB / 481.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of Templates: time 0.01935/0.5129, allocations: 10.42 MB / 492.1 MB, free: 6.77 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)