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.001779/0.001779, allocations: 108.6 kB / 17.06 MB, free: 6.004 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.001762/0.001762, allocations: 196.1 kB / 18 MB, free: 5.082 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.497/1.497, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001233/0.001233, allocations: 52.25 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1022, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.217/0.3193, allocations: 10.98 MB / 385.5 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006896/0.3262, allocations: 3.22 MB / 388.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.3284, allocations: 38.03 kB / 388.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.3299, allocations: 0.6813 MB / 389.4 MB, free: 4.934 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.003087/0.333, allocations: 0.8777 MB / 390.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.3353, allocations: 0.9308 MB / 391.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005488/0.3408, allocations: 3.453 MB / 394.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.3423, allocations: 0.8936 MB / 395.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.3446, allocations: 1.287 MB / 396.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.3469, allocations: 1.513 MB / 398.3 MB, free: 196 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006367/0.3476, allocations: 354.4 kB / 398.7 MB, free: 192 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.3484, allocations: 382 kB / 399.1 MB, free: 180 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000634/0.349, allocations: 0.7091 MB / 399.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.3509, allocations: 1.478 MB / 401.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.3557, allocations: 4.253 MB / 405.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3558, allocations: 6.125 kB / 405.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3558, allocations: 0 / 405.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001266/0.3559, allocations: 4 kB / 405.5 MB, free: 11.85 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.008278/0.3642, allocations: 3.121 MB / 408.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.3643, allocations: 14.05 kB / 408.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/0.365, allocations: 295.9 kB / 408.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.3681, allocations: 1.415 MB / 410.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.3682, allocations: 153.5 kB / 410.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.3686, allocations: 209.4 kB / 410.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004081/0.3727, allocations: 1.889 MB / 412.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/0.3728, allocations: 8.922 kB / 412.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.373, allocations: 82.03 kB / 412.7 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.3731, allocations: 50.88 kB / 412.7 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004141/0.3772, allocations: 1.908 MB / 414.6 MB, free: 6.098 MB / 334.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.01405/0.3913, allocations: 7.366 MB / 422 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/0.3949, allocations: 2.294 MB / 424.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002711/0.3976, allocations: 1.409 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.3977, allocations: 37.97 kB / 425.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.3978, allocations: 60.56 kB / 425.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 5.861e-06/0.3978, allocations: 0 / 425.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.05989/0.4577, allocations: 17.58 MB / 443.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.4578, allocations: 90.17 kB / 443.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.4606, allocations: 1.84 MB / 445.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003705/0.461, allocations: 81.7 kB / 445.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000767/0.4617, allocations: 0.981 MB / 446.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.4629, allocations: 1.159 MB / 447.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000863/0.4637, allocations: 0.4916 MB / 448 MB, free: 5.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4638, allocations: 301.1 kB / 448.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/0.4663, allocations: 1.221 MB / 449.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.4689, allocations: 1.521 MB / 451.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005106/0.474, allocations: 2.882 MB / 453.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4741, allocations: 4 kB / 453.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01008/0.4842, allocations: 4.439 MB / 458.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.4842, allocations: 8 kB / 458.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.4843, allocations: 4 kB / 458.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/0.4896, allocations: 1.33 MB / 459.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/0.4925, allocations: 0.5344 MB / 460.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02695/0.5195, allocations: 20.57 MB / 480.8 MB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.5225, allocations: 107.8 kB / 480.9 MB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002917/0.5228, allocations: 115.9 kB / 481.1 MB, free: 3.02 MB / 398.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.001436/0.5242, allocations: 0.5794 MB / 481.6 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/0.5248, allocations: 248.9 kB / 481.9 MB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.5349, allocations: 4.392 MB / 486.3 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/0.535, allocations: 32 kB / 486.3 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.535, allocations: 7.938 kB / 486.3 MB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.191e-05/0.5351, allocations: 15.94 kB / 486.3 MB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/0.5516, allocations: 8.378 MB / 494.7 MB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.5517, allocations: 8 kB / 494.7 MB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/0.5542, allocations: 455.4 kB / 495.2 MB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005305/0.5595, allocations: 1.259 MB / 496.4 MB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000452/0.56, allocations: 67.98 kB / 496.5 MB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02416/0.5842, allocations: 19.19 MB / 0.5036 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5842, allocations: 4 kB / 0.5036 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/0.5975, allocations: 6.101 MB / 0.5095 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.5991, allocations: 0.6109 MB / 0.5101 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006774/0.5998, allocations: 67.98 kB / 0.5102 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.602, allocations: 103.9 kB / 0.5103 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006708/0.6026, allocations: 266.7 kB / 0.5106 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.6028, allocations: 91.92 kB / 0.5106 GB, free: 7.773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.6047, allocations: 1.286 MB / 0.5119 GB, free: 6.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6047, allocations: 0 / 0.5119 GB, free: 6.496 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002933/0.6076, allocations: 0.8672 MB / 0.5127 GB, free: 5.629 MB / 446.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.001113/0.6087, allocations: 445.5 kB / 0.5132 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008164/0.6169, allocations: 4.449 MB / 0.5175 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.617, allocations: 4 kB / 0.5175 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004757/0.6217, allocations: 2.985 MB / 0.5204 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.6239, allocations: 389.3 kB / 0.5208 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.6341, allocations: 5.592 MB / 0.5263 GB, free: 7.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/0.636, allocations: 1.71 MB / 0.5279 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002086/0.6381, allocations: 284.1 kB / 0.5282 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/0.6388, allocations: 159.3 kB / 0.5284 GB, free: 5.305 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/0.6388, allocations: 0 / 0.5284 GB, free: 5.305 MB / 462.1 MB Notification: Performance of Templates: time 0.2927/0.9315, allocations: 53.22 MB / 0.5803 GB, free: 140.7 MB / 478.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)