Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00486/0.00486, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001067/0.001067, allocations: 195.4 kB / 16.68 MB, free: 5.953 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.474/1.474, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001198/0.001198, allocations: 54.39 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1062, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007545/0.1138, allocations: 6.225 MB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.1183, allocations: 1.87 MB / 381.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000722/0.1191, allocations: 19.94 kB / 381.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.1198, allocations: 222.1 kB / 381.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.1211, allocations: 392.8 kB / 381.9 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.1219, allocations: 371.5 kB / 382.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.1235, allocations: 1.491 MB / 383.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.1243, allocations: 0.5052 MB / 384.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.125, allocations: 0.5372 MB / 384.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.1255, allocations: 0.5952 MB / 385.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.1257, allocations: 160 kB / 385.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.1259, allocations: 160 kB / 385.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.1262, allocations: 299 kB / 386 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006865/0.1269, allocations: 0.6495 MB / 386.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.1286, allocations: 1.846 MB / 388.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1286, allocations: 0 / 388.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1287, allocations: 0 / 388.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.1287, 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.002952/0.1316, allocations: 1.445 MB / 389.9 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1317, allocations: 8.031 kB / 389.9 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.1319, allocations: 123.5 kB / 390.1 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.1331, allocations: 0.6807 MB / 390.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.1332, allocations: 74.38 kB / 390.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.1334, allocations: 100.3 kB / 390.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.1353, allocations: 1.006 MB / 391.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.1353, allocations: 7.938 kB / 391.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/0.1354, allocations: 36 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.1355, allocations: 24 kB / 392 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.1374, allocations: 0.8679 MB / 392.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/0.1426, allocations: 3.309 MB / 396.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1442, allocations: 0.8078 MB / 397 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009331/0.1452, allocations: 479.1 kB / 397.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.1452, allocations: 16.56 kB / 397.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.1453, allocations: 39.12 kB / 397.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.083e-06/0.1453, allocations: 0 / 397.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009871/0.1552, allocations: 4.294 MB / 401.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.1553, allocations: 97.7 kB / 401.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.1561, allocations: 0.6046 MB / 402.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.911e-05/0.1562, allocations: 41.7 kB / 402.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.1565, allocations: 428 kB / 402.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.1568, allocations: 398.2 kB / 403.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.1571, allocations: 182.9 kB / 403.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1573, allocations: 394.7 kB / 403.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008453/0.1581, allocations: 382.4 kB / 404.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/0.1591, allocations: 0.5119 MB / 404.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.1608, allocations: 0.8886 MB / 405.7 MB, free: 136 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1609, allocations: 0 / 405.7 MB, free: 136 kB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002466/0.1633, allocations: 1.188 MB / 406.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.1634, allocations: 8 kB / 406.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1634, allocations: 3.984 kB / 406.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/0.1638, allocations: 130.5 kB / 407 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.1649, allocations: 247.7 kB / 407.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/0.1687, allocations: 4.969 MB / 412.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.1697, allocations: 51.97 kB / 412.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.1698, allocations: 40.05 kB / 412.3 MB, free: 9.059 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.000514/0.1703, allocations: 285.5 kB / 412.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.1705, allocations: 94.86 kB / 412.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.1721, allocations: 0.7683 MB / 413.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.1721, allocations: 12 kB / 413.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/0.1722, allocations: 7.984 kB / 413.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.1722, allocations: 7.984 kB / 413.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.1765, allocations: 2.636 MB / 416.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1766, allocations: 4.125 kB / 416.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/0.1775, allocations: 215.7 kB / 416.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.178, allocations: 151.3 kB / 416.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.178, allocations: 27.98 kB / 416.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/0.1828, allocations: 5.982 MB / 422.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.1828, allocations: 7.969 kB / 422.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003424/0.1862, allocations: 1.742 MB / 424.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.1865, allocations: 164 kB / 424.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.1866, allocations: 24 kB / 424.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.1873, allocations: 51.97 kB / 424.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.1875, allocations: 76.41 kB / 424.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.1875, allocations: 31.98 kB / 424.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006632/0.1882, allocations: 439.1 kB / 425 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1882, allocations: 4 kB / 425 MB, free: 11.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001082/0.1893, allocations: 256 kB / 425.2 MB, free: 11.36 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.0002182/0.1895, allocations: 138.9 kB / 425.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.192, allocations: 1.345 MB / 426.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.192, allocations: 128 / 426.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.1936, allocations: 0.9979 MB / 427.7 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.1946, allocations: 199 kB / 427.9 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.1985, allocations: 2.142 MB / 430.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.1991, allocations: 1.02 MB / 431.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.1996, allocations: 123.6 kB / 431.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.1998, allocations: 75.42 kB / 431.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1998, allocations: 0 / 431.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of Templates: time 0.0224/0.2222, allocations: 12.16 MB / 443.4 MB, free: 8.973 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)