Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001139, allocations: 111.7 kB / 16.63 MB, free: 6.812 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.001278/0.001278, allocations: 189.8 kB / 17.55 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.373/1.373, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.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.001223/0.001223, allocations: 47.94 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08589, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01169/0.09762, allocations: 10.9 MB / 337 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006294/0.1039, allocations: 3.164 MB / 340.2 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.106, allocations: 39.88 kB / 340.2 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.1077, allocations: 0.5833 MB / 340.8 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.1105, allocations: 0.7764 MB / 341.6 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.1126, allocations: 0.839 MB / 342.4 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004081/0.1166, allocations: 3.429 MB / 345.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.1181, allocations: 0.8981 MB / 346.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.1201, allocations: 1.289 MB / 348.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.1222, allocations: 1.514 MB / 349.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007671/0.123, allocations: 352 kB / 349.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/0.1239, allocations: 383.9 kB / 350.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.1245, allocations: 0.7203 MB / 351 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.1258, allocations: 1.473 MB / 352.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.1294, allocations: 4.225 MB / 356.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1294, allocations: 0 / 356.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1295, allocations: 0 / 356.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.981e-05/0.1295, allocations: 0 / 356.7 MB, free: 6.074 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006908/0.1364, allocations: 3.126 MB / 359.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1365, allocations: 11.89 kB / 359.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.1369, allocations: 289.5 kB / 360.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.1393, allocations: 1.379 MB / 361.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.1395, allocations: 156.5 kB / 361.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.1398, allocations: 212 kB / 361.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003737/0.1435, allocations: 1.893 MB / 363.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.983e-05/0.1436, allocations: 4 kB / 363.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.1438, allocations: 80 kB / 363.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.1438, allocations: 52 kB / 363.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.1477, allocations: 1.91 MB / 365.8 MB, free: 12.78 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.1598, allocations: 7.445 MB / 373.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.1633, allocations: 2.274 MB / 375.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002498/0.1658, allocations: 1.374 MB / 376.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.166, allocations: 41.97 kB / 376.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.166, allocations: 56.56 kB / 377 MB, free: 1.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 5.23e-06/0.166, allocations: 0 / 377 MB, free: 1.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2159/0.3819, allocations: 17.59 MB / 394.6 MB, free: 45.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.382, allocations: 93.61 kB / 394.7 MB, free: 45.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.3843, allocations: 1.842 MB / 396.5 MB, free: 44.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002686/0.3846, allocations: 81.39 kB / 396.6 MB, free: 44.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.3851, allocations: 0.9831 MB / 397.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006561/0.3857, allocations: 1.152 MB / 398.7 MB, free: 42.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007052/0.3865, allocations: 0.4902 MB / 399.2 MB, free: 42.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.3865, allocations: 301.1 kB / 399.5 MB, free: 42.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.3885, allocations: 1.224 MB / 400.7 MB, free: 41.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.3906, allocations: 1.526 MB / 402.3 MB, free: 40.15 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.3949, allocations: 2.878 MB / 405.1 MB, free: 37.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.3949, allocations: 4 kB / 405.1 MB, free: 37.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.00903/0.404, allocations: 4.443 MB / 409.6 MB, free: 32.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.404, allocations: 11.94 kB / 409.6 MB, free: 32.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4041, allocations: 4 kB / 409.6 MB, free: 32.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004857/0.4089, allocations: 1.338 MB / 410.9 MB, free: 31.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/0.4114, allocations: 0.5227 MB / 411.5 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02113/0.4325, allocations: 20.6 MB / 432.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/0.4354, allocations: 99.94 kB / 432.2 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.4357, allocations: 116 kB / 432.3 MB, free: 9.062 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.4368, allocations: 0.5715 MB / 432.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004286/0.4372, allocations: 252.9 kB / 433.1 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008697/0.446, allocations: 4.405 MB / 437.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.446, allocations: 36 kB / 437.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.446, allocations: 7.938 kB / 437.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-05/0.4461, allocations: 15.94 kB / 437.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.4615, allocations: 8.396 MB / 445.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.4615, allocations: 11.92 kB / 446 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/0.464, allocations: 451.4 kB / 446.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005229/0.4692, allocations: 1.274 MB / 447.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004252/0.4697, allocations: 67.97 kB / 447.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02299/0.4927, allocations: 19.2 MB / 466.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4927, allocations: 4 kB / 466.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.5055, allocations: 6.109 MB / 473 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.507, allocations: 0.6071 MB / 473.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/0.5073, allocations: 60 kB / 473.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.5091, allocations: 107.9 kB / 473.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007134/0.5098, allocations: 262.7 kB / 474.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.51, allocations: 95.97 kB / 474.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001592/0.5116, allocations: 1.282 MB / 475.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5116, allocations: 0 / 475.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002693/0.5143, allocations: 0.8672 MB / 476.3 MB, free: 11.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.5153, allocations: 458.1 kB / 476.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01392/0.5293, allocations: 4.593 MB / 481.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.5293, allocations: 0 / 481.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004652/0.534, allocations: 2.987 MB / 484.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.5363, allocations: 373.7 kB / 484.7 MB, free: 3.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.5471, allocations: 6.789 MB / 491.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.5486, allocations: 1.706 MB / 493.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001979/0.5506, allocations: 284.1 kB / 493.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006291/0.5512, allocations: 163.4 kB / 493.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5512, allocations: 0 / 493.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of Templates: time 0.2182/0.7695, allocations: 52.07 MB / 0.5329 GB, free: 130.1 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)