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.001278/0.001278, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001444/0.001444, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0008323/0.0008323, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2523, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01024/0.2626, allocations: 8.804 MB / 335.3 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.271, allocations: 3.204 MB / 338.5 MB, free: 7.477 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.273, allocations: 35.88 kB / 338.5 MB, free: 7.441 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.2742, allocations: 0.556 MB / 339.1 MB, free: 6.883 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.277, allocations: 0.9155 MB / 340 MB, free: 5.965 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.2787, allocations: 0.5576 MB / 340.5 MB, free: 5.406 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00444/0.2832, allocations: 2.06 MB / 342.6 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.2843, allocations: 0.6839 MB / 343.3 MB, free: 2.637 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.2861, allocations: 1 MB / 344.3 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.2878, allocations: 1.202 MB / 345.5 MB, free: 436 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002817/0.2881, allocations: 136 kB / 345.6 MB, free: 300 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004781/0.2885, allocations: 156 kB / 345.8 MB, free: 144 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004534/0.289, allocations: 478.1 kB / 346.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.2896, allocations: 0.512 MB / 346.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003/0.2926, allocations: 3.283 MB / 350 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2926, allocations: 0 / 350 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.2926, allocations: 0 / 350 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.672e-05/0.2927, allocations: 0 / 350 MB, free: 11.86 MB / 286.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.006487/0.2992, allocations: 2.733 MB / 352.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2992, allocations: 8.031 kB / 352.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.2997, allocations: 296.4 kB / 353 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.3026, allocations: 1.442 MB / 354.5 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.3028, allocations: 160.1 kB / 354.6 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/0.3031, allocations: 200 kB / 354.8 MB, free: 6.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.3068, allocations: 1.854 MB / 356.7 MB, free: 4.996 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.3069, allocations: 3.906 kB / 356.7 MB, free: 4.992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.307, allocations: 84 kB / 356.8 MB, free: 4.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.3071, allocations: 52 kB / 356.8 MB, free: 4.859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/0.3112, allocations: 1.89 MB / 358.7 MB, free: 2.953 MB / 286.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.0126/0.3238, allocations: 7.266 MB / 366 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/0.3277, allocations: 2.224 MB / 368.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.3278, allocations: 41.95 kB / 368.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.3279, allocations: 64.56 kB / 368.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 4.639e-06/0.3279, allocations: 0 / 368.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=361): time 0.05595/0.3839, allocations: 17.19 MB / 385.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08249/0.4664, allocations: 30.27 MB / 415.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.4691, allocations: 1.785 MB / 417.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006516/0.4698, allocations: 81.7 kB / 417.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/0.4706, allocations: 0.9773 MB / 418.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.4718, allocations: 1.197 MB / 419.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.472, allocations: 72 kB / 419.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.4723, allocations: 429 kB / 420.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.4748, allocations: 1.194 MB / 421.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/0.4775, allocations: 1.483 MB / 423 MB, free: 1.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.4803, allocations: 1.378 MB / 424.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.4803, allocations: 0 / 424.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.01004/0.4904, allocations: 4.382 MB / 428.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4904, allocations: 4 kB / 428.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.4905, allocations: 8 kB / 428.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/0.4953, allocations: 1.276 MB / 430 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/0.4982, allocations: 0.5618 MB / 430.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/0.5223, allocations: 18.17 MB / 448.8 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.5251, allocations: 155.9 kB / 448.9 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003148/0.5254, allocations: 112 kB / 449 MB, free: 6.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * 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 initialization (305): * Single equations (assignments): 296 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.5267, allocations: 0.5949 MB / 449.6 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/0.5271, allocations: 256.8 kB / 449.9 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009828/0.537, allocations: 4.372 MB / 454.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1863/0.7233, allocations: 3.822 MB / 458.1 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.7234, allocations: 7.656 kB / 458.1 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/0.7234, allocations: 18.42 kB / 458.1 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.739, allocations: 8.719 MB / 466.8 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.7391, allocations: 0 / 466.8 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/0.7412, allocations: 478.4 kB / 467.3 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004519/0.7458, allocations: 1.327 MB / 468.6 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/0.7461, allocations: 75.34 kB / 468.7 MB, free: 105.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01653/0.7626, allocations: 17 MB / 485.7 MB, free: 90.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06286/0.8255, allocations: 26.91 MB / 0.5006 GB, free: 63.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.8365, allocations: 6.135 MB / 0.5066 GB, free: 57.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.8376, allocations: 0.5797 MB / 0.5071 GB, free: 56.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.838, allocations: 67.98 kB / 0.5072 GB, free: 56.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.8396, allocations: 139.9 kB / 0.5073 GB, free: 56.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006128/0.8403, allocations: 274.8 kB / 0.5076 GB, free: 56.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.8404, allocations: 99.97 kB / 0.5077 GB, free: 56.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.8418, allocations: 1.235 MB / 0.5089 GB, free: 55 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8418, allocations: 0 / 0.5089 GB, free: 55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002778/0.8446, allocations: 0.9493 MB / 0.5098 GB, free: 54.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.8456, allocations: 445.6 kB / 0.5102 GB, free: 53.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006221/0.8518, allocations: 4.424 MB / 0.5146 GB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8519, allocations: 1.062 kB / 0.5146 GB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/0.856, allocations: 3.053 MB / 0.5175 GB, free: 45.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.8578, allocations: 303 kB / 0.5178 GB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.8688, allocations: 7.999 MB / 0.5256 GB, free: 37.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.8701, allocations: 1.826 MB / 0.5274 GB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001883/0.872, allocations: 336.5 kB / 0.5278 GB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/0.8726, allocations: 167.4 kB / 0.5279 GB, free: 35.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.8726, allocations: 0 / 0.5279 GB, free: 35.22 MB / 382.1 MB Notification: Performance of Templates: time 0.07974/0.9524, allocations: 55.54 MB / 0.5822 GB, free: 11.57 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: