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.006136/0.006136, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.00112/0.00112, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.465/1.465, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001188/0.001189, allocations: 49.36 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1017, allocations: 46.62 MB / 373.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007231/0.109, allocations: 6.237 MB / 379.4 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.1122, allocations: 1.862 MB / 381.3 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006578/0.113, allocations: 19.94 kB / 381.3 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.1136, allocations: 218 kB / 381.5 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1148, allocations: 412.9 kB / 381.9 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007904/0.1156, allocations: 371.6 kB / 382.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.1172, allocations: 1.495 MB / 383.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008943/0.1181, allocations: 0.5013 MB / 384.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008375/0.119, allocations: 0.545 MB / 384.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.1197, allocations: 0.5952 MB / 385.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.1199, allocations: 160 kB / 385.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.1201, allocations: 160 kB / 385.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.1204, allocations: 311 kB / 386 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.121, allocations: 0.6456 MB / 386.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.1227, allocations: 1.842 MB / 388.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1228, allocations: 0 / 388.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1228, allocations: 0 / 388.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1228, allocations: 4 kB / 388.5 MB, free: 2.016 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.002913/0.1257, allocations: 1.445 MB / 389.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1258, allocations: 8.031 kB / 390 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.126, allocations: 119.5 kB / 390.1 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.1272, allocations: 0.6769 MB / 390.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.1273, allocations: 74.38 kB / 390.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.1274, allocations: 100.3 kB / 390.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.1293, allocations: 1.009 MB / 391.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.1294, allocations: 11.89 kB / 391.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.1295, allocations: 40 kB / 392 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.1295, allocations: 20 kB / 392 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.1314, allocations: 0.8679 MB / 392.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.1364, allocations: 3.305 MB / 396.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.138, allocations: 0.8194 MB / 397 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/0.1389, allocations: 475.1 kB / 397.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.1389, allocations: 20.56 kB / 397.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.139, allocations: 39.12 kB / 397.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.135e-06/0.139, allocations: 0 / 397.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009837/0.1488, allocations: 4.301 MB / 401.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1489, allocations: 93.7 kB / 401.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.1497, allocations: 0.6007 MB / 402.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.1498, allocations: 45.64 kB / 402.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.1501, allocations: 428 kB / 403 MB, free: 3.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.1503, allocations: 398.2 kB / 403.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.1506, allocations: 182.9 kB / 403.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1508, allocations: 394.7 kB / 403.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008479/0.1517, allocations: 378.4 kB / 404.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009331/0.1526, allocations: 0.5081 MB / 404.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.1543, allocations: 0.8925 MB / 405.7 MB, free: 224 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1544, allocations: 4 kB / 405.7 MB, free: 220 kB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002432/0.1568, allocations: 1.188 MB / 406.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1568, allocations: 8 kB / 406.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1569, allocations: 4 kB / 406.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.1573, allocations: 122.7 kB / 407 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.1583, allocations: 251.6 kB / 407.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/0.1625, allocations: 4.977 MB / 412.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.1632, allocations: 47.97 kB / 412.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.1633, allocations: 39.98 kB / 412.3 MB, free: 9.141 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.0005092/0.1638, allocations: 277.5 kB / 412.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.164, allocations: 94.94 kB / 412.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.1656, allocations: 0.7722 MB / 413.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.1657, allocations: 12 kB / 413.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.1657, allocations: 4 kB / 413.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.1657, allocations: 8.016 kB / 413.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/0.1701, allocations: 2.648 MB / 416.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.1701, allocations: 3.984 kB / 416.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/0.171, allocations: 199.7 kB / 416.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004315/0.1715, allocations: 155.5 kB / 416.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.1716, allocations: 31.98 kB / 416.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00446/0.176, allocations: 5.986 MB / 422.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.176, allocations: 4.062 kB / 422.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.1793, allocations: 1.741 MB / 424.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.1795, allocations: 164 kB / 424.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.1797, allocations: 24 kB / 424.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.1803, allocations: 51.95 kB / 424.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.1805, allocations: 88.34 kB / 424.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.1805, allocations: 24 kB / 424.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006231/0.1812, allocations: 447.1 kB / 425 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1812, allocations: 0 / 425 MB, free: 11.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009397/0.1821, allocations: 252 kB / 425.3 MB, free: 11.44 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.0002202/0.1823, allocations: 135 kB / 425.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.185, allocations: 1.345 MB / 426.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.185, allocations: 4 kB / 426.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.1866, allocations: 1.002 MB / 427.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.1877, allocations: 182.9 kB / 427.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.1918, allocations: 2.142 MB / 430.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.1925, allocations: 1.024 MB / 431.1 MB, free: 5.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005652/0.1931, allocations: 123.6 kB / 431.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.1933, allocations: 75.42 kB / 431.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1933, allocations: 0 / 431.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of Templates: time 0.02304/0.2164, allocations: 12.14 MB / 443.4 MB, free: 9.074 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)