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.00151/0.00151, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001778/0.001778, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.532/1.532, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.001306/0.001306, allocations: 55.92 kB / 280 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09973, allocations: 46.62 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01187/0.1116, allocations: 10.98 MB / 337.6 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006484/0.1181, allocations: 3.211 MB / 340.8 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.1198, allocations: 39.88 kB / 340.9 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.1211, allocations: 0.6832 MB / 341.5 MB, free: 5.469 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002112/0.1233, allocations: 0.8842 MB / 342.4 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.125, allocations: 0.9167 MB / 343.3 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.1284, allocations: 3.441 MB / 346.8 MB, free: 216 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.1295, allocations: 0.8943 MB / 347.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.1311, allocations: 1.281 MB / 349 MB, free: 14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.1327, allocations: 1.506 MB / 350.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004331/0.1331, allocations: 348 kB / 350.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.1337, allocations: 384 kB / 351.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006124/0.1343, allocations: 0.7125 MB / 351.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.1358, allocations: 1.477 MB / 353.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.1392, allocations: 4.221 MB / 357.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1393, allocations: 0 / 357.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1393, allocations: 4 kB / 357.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.958e-05/0.1393, allocations: 0 / 357.6 MB, free: 5.336 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.006802/0.1461, allocations: 3.119 MB / 360.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1462, allocations: 15.88 kB / 360.7 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.1467, allocations: 293.5 kB / 361 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.149, allocations: 1.391 MB / 362.4 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.1492, allocations: 156.5 kB / 362.6 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.1495, allocations: 212 kB / 362.8 MB, free: 36 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.1531, allocations: 1.885 MB / 364.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.1532, allocations: 3.984 kB / 364.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.1534, allocations: 84 kB / 364.7 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.1534, allocations: 52 kB / 364.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/0.1574, allocations: 1.91 MB / 366.7 MB, free: 12.03 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.01244/0.1698, allocations: 7.441 MB / 374.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.1738, allocations: 2.274 MB / 376.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002667/0.1765, allocations: 1.366 MB / 377.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.1766, allocations: 41.97 kB / 377.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.1767, allocations: 56.56 kB / 377.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=234): time 3.697e-06/0.1767, allocations: 0 / 377.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of matching and sorting (n=351): time 0.2039/0.3806, allocations: 17.59 MB / 395.5 MB, free: 45.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3806, allocations: 89.64 kB / 395.5 MB, free: 45.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.3827, allocations: 1.842 MB / 397.4 MB, free: 44.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003167/0.383, allocations: 83.64 kB / 397.5 MB, free: 44.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.3835, allocations: 0.9808 MB / 398.5 MB, free: 43.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/0.3841, allocations: 1.153 MB / 399.6 MB, free: 42.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007171/0.3848, allocations: 0.4911 MB / 400.1 MB, free: 42.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.3849, allocations: 305.1 kB / 400.4 MB, free: 42.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.3869, allocations: 1.223 MB / 401.6 MB, free: 40.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.3891, allocations: 1.528 MB / 403.1 MB, free: 39.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/0.3935, allocations: 2.882 MB / 406 MB, free: 36.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.3935, allocations: 0 / 406 MB, free: 36.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.008984/0.4025, allocations: 4.439 MB / 410.5 MB, free: 31.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4025, allocations: 7.938 kB / 410.5 MB, free: 31.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.4026, allocations: 13.44 kB / 410.5 MB, free: 31.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005009/0.4076, allocations: 1.333 MB / 411.8 MB, free: 30.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/0.4104, allocations: 0.5232 MB / 412.3 MB, free: 29.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.4316, allocations: 20.62 MB / 433 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.4341, allocations: 107.9 kB / 433.1 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.4344, allocations: 104 kB / 433.2 MB, free: 8.199 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.001005/0.4354, allocations: 0.5755 MB / 433.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.4358, allocations: 252.9 kB / 434 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008795/0.4446, allocations: 4.396 MB / 438.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.4447, allocations: 36 kB / 438.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.4447, allocations: 0 / 438.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/0.4447, allocations: 19.36 kB / 438.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.4601, allocations: 8.403 MB / 446.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.4601, allocations: 8.031 kB / 446.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/0.4625, allocations: 463.3 kB / 447.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005228/0.4678, allocations: 1.255 MB / 448.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003403/0.4682, allocations: 67.98 kB / 448.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0255/0.4937, allocations: 19.21 MB / 467.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.4937, allocations: 9.453 kB / 467.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.5081, allocations: 6.099 MB / 473.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/0.5099, allocations: 0.611 MB / 474.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007035/0.5106, allocations: 68 kB / 474.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/0.5128, allocations: 107.9 kB / 474.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007321/0.5135, allocations: 262.7 kB / 475 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/0.5138, allocations: 88.08 kB / 475.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002262/0.5161, allocations: 1.293 MB / 476.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5161, allocations: 0 / 476.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003105/0.5192, allocations: 0.8633 MB / 477.2 MB, free: 10.92 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.001073/0.5203, allocations: 441.4 kB / 477.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.01426/0.5345, allocations: 4.598 MB / 482.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.5346, allocations: 7.938 kB / 482.3 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00491/0.5395, allocations: 2.971 MB / 485.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.5418, allocations: 373.7 kB / 485.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.5539, allocations: 5.67 MB / 491.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002343/0.5563, allocations: 1.702 MB / 493 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002619/0.5589, allocations: 296.1 kB / 493.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008179/0.5598, allocations: 155.4 kB / 493.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5598, allocations: 0 / 493.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of Templates: time 0.284/0.8438, allocations: 52.24 MB / 0.5329 GB, free: 129.6 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)