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.007736/0.007736, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.001669/0.001669, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.578/1.578, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.001145/0.001145, allocations: 46.59 kB / 326.5 MB, free: 14.49 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09326, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01153/0.1048, allocations: 10.99 MB / 384.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.1117, allocations: 3.207 MB / 387.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.1134, allocations: 39.88 kB / 387.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.1148, allocations: 0.6794 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.002528/0.1173, allocations: 0.9116 MB / 389 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1191, allocations: 0.9206 MB / 389.9 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.1227, allocations: 3.462 MB / 393.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.1238, allocations: 0.8983 MB / 394.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.1253, allocations: 1.3 MB / 395.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.127, allocations: 1.506 MB / 397.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.1275, allocations: 348 kB / 397.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.128, allocations: 384 kB / 397.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.1285, allocations: 0.7165 MB / 398.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.1298, allocations: 1.477 MB / 400 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.1337, allocations: 4.248 MB / 404.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1337, allocations: 4 kB / 404.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1337, allocations: 0 / 404.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.08e-05/0.1338, allocations: 0 / 404.2 MB, free: 2.086 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.006941/0.1407, allocations: 3.134 MB / 407.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1408, allocations: 15.89 kB / 407.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004597/0.1413, allocations: 289.4 kB / 407.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.1438, allocations: 1.411 MB / 409.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.144, allocations: 156.5 kB / 409.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/0.1443, allocations: 204.1 kB / 409.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/0.1478, allocations: 1.885 MB / 411.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.1478, allocations: 15.89 kB / 411.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.148, allocations: 83.98 kB / 411.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.1481, allocations: 48 kB / 411.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/0.1518, allocations: 1.91 MB / 413.4 MB, free: 8.75 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.01179/0.1636, allocations: 7.359 MB / 420.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.1673, allocations: 2.297 MB / 423 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.1699, allocations: 1.405 MB / 424.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.1701, allocations: 41.95 kB / 424.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.1701, allocations: 56.56 kB / 424.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 4.538e-06/0.1702, allocations: 0 / 424.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.05743/0.2276, allocations: 17.57 MB / 442.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.2277, allocations: 86.17 kB / 442.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.2302, allocations: 1.848 MB / 444 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002757/0.2305, allocations: 81.7 kB / 444.1 MB, free: 9.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/0.2313, allocations: 0.9771 MB / 445.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000951/0.2322, allocations: 1.155 MB / 446.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008503/0.2331, allocations: 0.4916 MB / 446.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.2332, allocations: 305.1 kB / 447 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/0.2356, allocations: 1.217 MB / 448.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.2382, allocations: 1.529 MB / 449.8 MB, free: 3.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005089/0.2433, allocations: 2.882 MB / 452.7 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.2433, allocations: 3.938 kB / 452.7 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.1997/0.443, allocations: 4.437 MB / 457.1 MB, free: 69.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.443, allocations: 6.875 kB / 457.1 MB, free: 69.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.443, allocations: 4.062 kB / 457.1 MB, free: 69.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0054/0.4484, allocations: 1.328 MB / 458.4 MB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/0.4513, allocations: 0.5297 MB / 459 MB, free: 68.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/0.475, allocations: 20.58 MB / 479.5 MB, free: 53.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.4776, allocations: 109.7 kB / 479.7 MB, free: 53.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.4779, allocations: 109.3 kB / 479.8 MB, free: 53.38 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.001089/0.479, allocations: 0.5834 MB / 480.3 MB, free: 52.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.4793, allocations: 256.2 kB / 480.6 MB, free: 52.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008903/0.4882, allocations: 4.391 MB / 485 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.4883, allocations: 33.22 kB / 485 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.4883, allocations: 3.938 kB / 485 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/0.4884, allocations: 16.92 kB / 485 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.5025, allocations: 8.381 MB / 493.4 MB, free: 43.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5026, allocations: 0 / 493.4 MB, free: 43.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/0.5048, allocations: 463.6 kB / 493.9 MB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004618/0.5094, allocations: 1.262 MB / 495.1 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/0.5096, allocations: 63.98 kB / 495.2 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/0.5284, allocations: 19.18 MB / 0.5023 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5284, allocations: 0 / 0.5023 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.5398, allocations: 6.1 MB / 0.5083 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.541, allocations: 0.6139 MB / 0.5089 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.5412, allocations: 66.16 kB / 0.5089 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.5429, allocations: 115.9 kB / 0.509 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/0.5435, allocations: 254.8 kB / 0.5093 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/0.5437, allocations: 87.98 kB / 0.5094 GB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001391/0.5451, allocations: 1.286 MB / 0.5106 GB, free: 13.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5451, allocations: 0 / 0.5106 GB, free: 13.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002568/0.5477, allocations: 0.8745 MB / 0.5115 GB, free: 12.41 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.000991/0.5487, allocations: 449.8 kB / 0.5119 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006714/0.5554, allocations: 4.448 MB / 0.5163 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5554, allocations: 1.125 kB / 0.5163 GB, free: 7.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003914/0.5594, allocations: 2.972 MB / 0.5192 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.5612, allocations: 387.2 kB / 0.5195 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009034/0.5703, allocations: 5.598 MB / 0.525 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.5717, allocations: 1.71 MB / 0.5267 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001744/0.5735, allocations: 292.1 kB / 0.5269 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.5741, allocations: 155.4 kB / 0.5271 GB, free: 12.17 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5741, allocations: 0 / 0.5271 GB, free: 12.17 MB / 398.1 MB Notification: Performance of Templates: time 0.08755/0.6616, allocations: 53.22 MB / 0.5791 GB, free: 6.863 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)