Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006569/0.006569, allocations: 97.53 kB / 15.73 MB, free: 6.016 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.001275/0.001275, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.47/1.47, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.001214/0.001214, allocations: 45.47 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1071, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01237/0.1195, allocations: 10.99 MB / 384.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.1257, allocations: 3.203 MB / 387.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.1271, allocations: 39.88 kB / 387.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.1284, allocations: 0.6832 MB / 388.1 MB, free: 2.332 MB / 318.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.002266/0.1307, allocations: 0.8959 MB / 389 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.1324, allocations: 0.9167 MB / 389.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003673/0.136, allocations: 3.462 MB / 393.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.1373, allocations: 0.8943 MB / 394.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.139, allocations: 1.281 MB / 395.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.1407, allocations: 1.51 MB / 397 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004549/0.1412, allocations: 352 kB / 397.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005988/0.1418, allocations: 383.9 kB / 397.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.1423, allocations: 0.7126 MB / 398.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.1437, allocations: 1.473 MB / 399.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.1478, allocations: 4.277 MB / 404.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.1478, allocations: 4 kB / 404.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1478, allocations: 0 / 404.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.749e-05/0.1479, allocations: 0 / 404.2 MB, free: 2.098 MB / 334.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.006855/0.1547, allocations: 3.19 MB / 407.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.1548, allocations: 19.83 kB / 407.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004923/0.1553, allocations: 307 kB / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.1579, allocations: 1.416 MB / 409.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.1581, allocations: 160.5 kB / 409.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.1584, allocations: 208.1 kB / 409.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/0.1621, allocations: 1.893 MB / 411.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.1622, allocations: 3.984 kB / 411.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.1624, allocations: 92 kB / 411.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.1625, allocations: 48 kB / 411.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.1665, allocations: 1.91 MB / 413.5 MB, free: 8.668 MB / 350.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.01259/0.1791, allocations: 7.392 MB / 420.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/0.1828, allocations: 2.289 MB / 423.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/0.1857, allocations: 1.405 MB / 424.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.1858, allocations: 33.97 kB / 424.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.1859, allocations: 56.56 kB / 424.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 4.328e-06/0.1859, allocations: 0 / 424.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.05993/0.2458, allocations: 17.63 MB / 442.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.2459, allocations: 86.17 kB / 442.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.2484, allocations: 1.84 MB / 444.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002372/0.2487, allocations: 85.7 kB / 444.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.2495, allocations: 0.9948 MB / 445.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000887/0.2504, allocations: 1.22 MB / 446.5 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008331/0.2512, allocations: 495.5 kB / 447 MB, free: 6.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.2513, allocations: 309.1 kB / 447.3 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/0.2537, allocations: 1.217 MB / 448.5 MB, free: 5.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002589/0.2563, allocations: 1.537 MB / 450 MB, free: 3.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005178/0.2615, allocations: 2.878 MB / 452.9 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.2615, allocations: 0 / 452.9 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.207/0.4685, allocations: 4.454 MB / 457.4 MB, free: 68.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.4686, allocations: 9.453 kB / 457.4 MB, free: 68.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.4686, allocations: 4.25 kB / 457.4 MB, free: 68.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/0.4742, allocations: 1.327 MB / 458.7 MB, free: 68.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.4769, allocations: 0.5268 MB / 459.2 MB, free: 68.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.4997, allocations: 20.6 MB / 479.8 MB, free: 53.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.5023, allocations: 108.8 kB / 479.9 MB, free: 53.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.5026, allocations: 110.3 kB / 480 MB, free: 53.08 MB / 382.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.001056/0.5036, allocations: 0.5828 MB / 480.6 MB, free: 52.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.504, allocations: 264.4 kB / 480.9 MB, free: 52.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008682/0.5127, allocations: 4.397 MB / 485.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.5127, allocations: 34.38 kB / 485.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.5128, allocations: 3.812 kB / 485.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.766e-05/0.5128, allocations: 17.86 kB / 485.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.5259, allocations: 8.37 MB / 493.7 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.526, allocations: 8.031 kB / 493.7 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/0.5281, allocations: 463.3 kB / 494.2 MB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004684/0.5328, allocations: 1.251 MB / 495.4 MB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003083/0.5332, allocations: 67.98 kB / 495.5 MB, free: 41.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/0.5514, allocations: 19.21 MB / 0.5026 GB, free: 21.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5514, allocations: 8 kB / 0.5026 GB, free: 21.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.5622, allocations: 6.115 MB / 0.5086 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009375/0.5631, allocations: 0.6279 MB / 0.5092 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.5634, allocations: 61.12 kB / 0.5093 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.565, allocations: 107.9 kB / 0.5094 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/0.5655, allocations: 258.8 kB / 0.5096 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.5657, allocations: 87.98 kB / 0.5097 GB, free: 13.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.567, allocations: 1.286 MB / 0.511 GB, free: 12.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.567, allocations: 0 / 0.511 GB, free: 12.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002266/0.5693, allocations: 0.8736 MB / 0.5118 GB, free: 11.81 MB / 382.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.0008982/0.5702, allocations: 444.3 kB / 0.5122 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006949/0.5772, allocations: 4.466 MB / 0.5166 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.5772, allocations: 4 kB / 0.5166 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003631/0.5808, allocations: 2.98 MB / 0.5195 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.5826, allocations: 373.6 kB / 0.5199 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009152/0.5917, allocations: 5.7 MB / 0.5254 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.5934, allocations: 1.706 MB / 0.5271 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001766/0.5952, allocations: 288.1 kB / 0.5274 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006795/0.5959, allocations: 159.4 kB / 0.5275 GB, free: 11.45 MB / 398.1 MB Notification: Performance of SimCode: time 6.181e-06/0.5959, allocations: 0 / 0.5275 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Templates: time 0.07942/0.6753, allocations: 53.22 MB / 0.5795 GB, free: 6.137 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)