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.001709/0.001709, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001955/0.001955, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.443/1.443, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001209/0.001209, allocations: 52.39 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09426, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01108/0.1054, allocations: 10.89 MB / 336.9 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.111, allocations: 3.172 MB / 340 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.1121, allocations: 43.81 kB / 340.1 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1132, allocations: 0.5794 MB / 340.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.1148, allocations: 0.7764 MB / 341.4 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1163, allocations: 0.8273 MB / 342.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.1189, allocations: 3.202 MB / 345.5 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009604/0.1198, allocations: 0.7688 MB / 346.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.121, allocations: 1.097 MB / 347.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.1222, allocations: 1.385 MB / 348.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.1225, allocations: 168 kB / 348.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.1229, allocations: 191.9 kB / 349.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004319/0.1234, allocations: 0.5407 MB / 349.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.1244, allocations: 1.298 MB / 350.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.1273, allocations: 4.076 MB / 355 MB, free: 7.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1273, allocations: 4 kB / 355 MB, free: 7.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1274, allocations: 0 / 355 MB, free: 7.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.948e-05/0.1274, allocations: 0 / 355 MB, free: 7.723 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.00669/0.1341, allocations: 3.111 MB / 358.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1342, allocations: 19.97 kB / 358.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/0.1346, allocations: 293.5 kB / 358.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.1368, allocations: 1.379 MB / 359.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.1369, allocations: 156.5 kB / 359.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.1372, allocations: 212 kB / 360.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003609/0.1408, allocations: 1.889 MB / 362 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.1409, allocations: 4 kB / 362 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.1411, allocations: 84 kB / 362.1 MB, free: 416 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.1411, allocations: 52 kB / 362.2 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/0.1451, allocations: 1.906 MB / 364.1 MB, free: 14.43 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.01175/0.1568, allocations: 7.452 MB / 371.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.1606, allocations: 2.27 MB / 373.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.1633, allocations: 1.374 MB / 375.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.1635, allocations: 41.95 kB / 375.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.1636, allocations: 60.55 kB / 375.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 4.108e-06/0.1636, allocations: 0 / 375.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2311/0.3947, allocations: 17.57 MB / 392.8 MB, free: 46.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.3948, allocations: 88.7 kB / 392.9 MB, free: 46.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.397, allocations: 1.85 MB / 394.8 MB, free: 45.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.3972, allocations: 81.45 kB / 394.8 MB, free: 45.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005057/0.3977, allocations: 0.9799 MB / 395.8 MB, free: 44.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006503/0.3984, allocations: 1.153 MB / 397 MB, free: 43.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007542/0.3991, allocations: 0.4919 MB / 397.5 MB, free: 43.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.3992, allocations: 301.1 kB / 397.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.4013, allocations: 1.213 MB / 399 MB, free: 42.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.4035, allocations: 1.532 MB / 400.5 MB, free: 41.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/0.4078, allocations: 2.875 MB / 403.4 MB, free: 38.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4078, allocations: 4 kB / 403.4 MB, free: 38.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009123/0.417, allocations: 4.448 MB / 407.8 MB, free: 34.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.417, allocations: 7.938 kB / 407.8 MB, free: 34.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.4171, allocations: 8 kB / 407.8 MB, free: 34.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005151/0.4222, allocations: 1.322 MB / 409.2 MB, free: 33.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.4248, allocations: 0.5266 MB / 409.7 MB, free: 32.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/0.445, allocations: 18.89 MB / 428.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/0.4477, allocations: 103.9 kB / 428.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.448, allocations: 108 kB / 428.8 MB, free: 12.56 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.001104/0.4491, allocations: 0.5755 MB / 429.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.4495, allocations: 252.9 kB / 429.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008874/0.4584, allocations: 4.398 MB / 434 MB, free: 7.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.4584, allocations: 39.94 kB / 434 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4584, allocations: 0 / 434 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.4585, allocations: 23.92 kB / 434.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.4729, allocations: 8.399 MB / 442.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.4729, allocations: 4 kB / 442.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/0.4754, allocations: 459.6 kB / 442.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005272/0.4807, allocations: 1.259 MB / 444.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/0.481, allocations: 67.92 kB / 444.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02247/0.5035, allocations: 17.5 MB / 461.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5036, allocations: 4.031 kB / 461.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/0.5167, allocations: 6.099 MB / 467.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.5182, allocations: 0.6109 MB / 468.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.5185, allocations: 60.09 kB / 468.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.5203, allocations: 115.9 kB / 468.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007056/0.521, allocations: 250.8 kB / 468.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.5212, allocations: 87.98 kB / 469 MB, free: 3.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.5229, allocations: 1.293 MB / 470.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5229, allocations: 0 / 470.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002665/0.5256, allocations: 0.8668 MB / 471.1 MB, free: 0.9766 MB / 350.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.001045/0.5267, allocations: 456 kB / 471.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007537/0.5342, allocations: 4.44 MB / 476 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5342, allocations: 0 / 476 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004408/0.5386, allocations: 2.962 MB / 479 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.5405, allocations: 357.8 kB / 479.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.5514, allocations: 6.792 MB / 486.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.5529, allocations: 1.706 MB / 487.8 MB, free: 0 / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001993/0.5549, allocations: 284.2 kB / 488.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006558/0.5556, allocations: 159.3 kB / 488.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5556, allocations: 0 / 488.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of Templates: time 0.232/0.7876, allocations: 49.82 MB / 0.5255 GB, free: 131.8 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)