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.008763/0.008763, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001976/0.001976, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.488/1.488, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.001941/0.001941, allocations: 49.73 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1219, allocations: 46.64 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008587/0.1305, allocations: 6.225 MB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.1346, allocations: 1.87 MB / 381.3 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.1361, allocations: 19.94 kB / 381.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1372, allocations: 210.1 kB / 381.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.1387, allocations: 396.8 kB / 381.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009443/0.1396, allocations: 379.6 kB / 382.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.1415, allocations: 1.483 MB / 383.7 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007111/0.1422, allocations: 0.5052 MB / 384.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006843/0.1429, allocations: 0.5411 MB / 384.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006026/0.1435, allocations: 0.5952 MB / 385.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.1437, allocations: 160 kB / 385.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1439, allocations: 160 kB / 385.7 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.1442, allocations: 307 kB / 386 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005556/0.1447, allocations: 0.6456 MB / 386.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.1463, allocations: 1.853 MB / 388.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1464, allocations: 0 / 388.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1464, allocations: 0 / 388.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.1464, allocations: 4 kB / 388.5 MB, free: 1.922 MB / 318.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.002721/0.1491, allocations: 1.476 MB / 390 MB, free: 404 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1492, allocations: 12.03 kB / 390 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.1494, allocations: 128.2 kB / 390.1 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.1507, allocations: 0.6733 MB / 390.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.1507, allocations: 74.38 kB / 390.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.1509, allocations: 108.3 kB / 391 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.1529, allocations: 1.005 MB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.1529, allocations: 7.984 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/0.153, allocations: 40 kB / 392 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.1531, allocations: 20 kB / 392 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.155, allocations: 0.864 MB / 392.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005068/0.1601, allocations: 3.318 MB / 396.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.1616, allocations: 0.8194 MB / 397 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008989/0.1625, allocations: 471.2 kB / 397.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.1626, allocations: 16.55 kB / 397.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.1627, allocations: 47.12 kB / 397.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.835e-06/0.1627, allocations: 0 / 397.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009947/0.1726, allocations: 4.316 MB / 401.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.1727, allocations: 101.6 kB / 402 MB, free: 3.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/0.1737, allocations: 0.6007 MB / 402.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.1737, allocations: 45.7 kB / 402.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.1741, allocations: 433.1 kB / 403 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.1744, allocations: 416.4 kB / 403.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.1747, allocations: 186.9 kB / 403.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1749, allocations: 390.8 kB / 404 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009008/0.1758, allocations: 386.4 kB / 404.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009759/0.1768, allocations: 0.508 MB / 404.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.1786, allocations: 0.8887 MB / 405.8 MB, free: 36 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1786, allocations: 4 kB / 405.8 MB, free: 32 kB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002593/0.1812, allocations: 1.189 MB / 407 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.1812, allocations: 8 kB / 407 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1812, allocations: 0 / 407 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004393/0.1817, allocations: 134.6 kB / 407.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.1827, allocations: 247.7 kB / 407.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.1876, allocations: 4.977 MB / 412.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007787/0.1884, allocations: 51.95 kB / 412.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.1885, allocations: 36 kB / 412.4 MB, free: 8.953 MB / 350.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.0005765/0.1891, allocations: 281.6 kB / 412.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.1893, allocations: 99.38 kB / 412.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.191, allocations: 0.7723 MB / 413.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.191, allocations: 12 kB / 413.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.191, allocations: 4 kB / 413.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.191, allocations: 3.984 kB / 413.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/0.1953, allocations: 2.652 MB / 416.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1953, allocations: 0 / 416.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008797/0.1962, allocations: 203.7 kB / 416.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.1966, allocations: 147.4 kB / 416.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.572e-05/0.1967, allocations: 32.05 kB / 416.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/0.2013, allocations: 5.994 MB / 422.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2013, allocations: 3.938 kB / 422.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/0.2045, allocations: 1.754 MB / 424.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.2048, allocations: 160.6 kB / 424.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.2049, allocations: 24 kB / 424.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.2055, allocations: 51.95 kB / 424.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.2057, allocations: 80.41 kB / 424.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.2058, allocations: 39.92 kB / 424.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005728/0.2063, allocations: 439.1 kB / 425.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2063, allocations: 0 / 425.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000898/0.2073, allocations: 256 kB / 425.4 MB, free: 11.23 MB / 366.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.0001707/0.2074, allocations: 131 kB / 425.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.2099, allocations: 1.341 MB / 426.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2099, allocations: 0 / 426.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.2113, allocations: 1.01 MB / 427.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/0.2123, allocations: 186.9 kB / 428 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.2161, allocations: 2.183 MB / 430.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.2167, allocations: 1.02 MB / 431.2 MB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005044/0.2173, allocations: 119.6 kB / 431.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.2175, allocations: 79.41 kB / 431.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2175, allocations: 0 / 431.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of Templates: time 0.02139/0.2389, allocations: 12.16 MB / 443.6 MB, free: 8.816 MB / 382.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)