Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.005039/0.005039, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001087/0.001087, allocations: 194.6 kB / 16.67 MB, free: 5.52 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.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001134/0.001134, allocations: 51.92 kB / 326.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.09671, allocations: 46.62 MB / 373.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.2092/0.306, allocations: 10.98 MB / 384.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005884/0.3119, allocations: 3.214 MB / 387.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.3135, allocations: 38.62 kB / 387.4 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.3149, allocations: 0.6804 MB / 388.1 MB, free: 4.973 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.003683/0.3186, allocations: 0.8887 MB / 389 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.3219, allocations: 0.9184 MB / 389.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008189/0.3301, allocations: 3.462 MB / 393.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.3318, allocations: 0.8982 MB / 394.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.3349, allocations: 1.279 MB / 395.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.337, allocations: 1.514 MB / 397 MB, free: 224 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004748/0.3375, allocations: 348.5 kB / 397.4 MB, free: 224 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006488/0.3382, allocations: 382.4 kB / 397.7 MB, free: 212 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006144/0.3388, allocations: 0.7123 MB / 398.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.3402, allocations: 1.475 MB / 399.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.3444, allocations: 4.264 MB / 404.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3444, allocations: 0.8438 kB / 404.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3444, allocations: 0 / 404.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.244e-05/0.3445, allocations: 0 / 404.2 MB, free: 11.89 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.007274/0.3518, allocations: 3.121 MB / 407.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3518, allocations: 13.55 kB / 407.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005951/0.3524, allocations: 293.2 kB / 407.6 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.3551, allocations: 1.411 MB / 409 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.3552, allocations: 156.7 kB / 409.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/0.3556, allocations: 206.8 kB / 409.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003674/0.3593, allocations: 1.892 MB / 411.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.393e-05/0.3593, allocations: 8.969 kB / 411.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.3595, allocations: 86.03 kB / 411.4 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.3596, allocations: 50 kB / 411.4 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/0.3633, allocations: 1.907 MB / 413.3 MB, free: 6.141 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.01164/0.375, allocations: 7.365 MB / 420.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/0.3785, allocations: 2.297 MB / 423 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/0.3812, allocations: 1.413 MB / 424.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.3813, allocations: 33.97 kB / 424.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3814, allocations: 56.56 kB / 424.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 5.029e-06/0.3814, allocations: 4 kB / 424.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06186/0.4433, allocations: 17.57 MB / 442.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.4434, allocations: 90.17 kB / 442.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.4459, allocations: 1.84 MB / 444 MB, free: 8.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003826/0.4463, allocations: 81.7 kB / 444.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/0.447, allocations: 0.9771 MB / 445 MB, free: 7.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009133/0.4479, allocations: 1.163 MB / 446.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008068/0.4487, allocations: 499.4 kB / 446.7 MB, free: 5.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.4488, allocations: 301.1 kB / 447 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.4512, allocations: 1.225 MB / 448.2 MB, free: 3.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.4538, allocations: 1.529 MB / 449.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005072/0.4589, allocations: 2.874 MB / 452.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.4589, allocations: 0 / 452.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.0103/0.4693, allocations: 4.455 MB / 457.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.4693, allocations: 8 kB / 457.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.4694, allocations: 4 kB / 457.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.4748, allocations: 1.33 MB / 458.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/0.4777, allocations: 0.5227 MB / 458.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0259/0.5036, allocations: 20.58 MB / 479.5 MB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.5063, allocations: 103.9 kB / 479.6 MB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/0.5067, allocations: 116 kB / 479.7 MB, free: 3.078 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.00117/0.5079, allocations: 0.5754 MB / 480.3 MB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/0.5084, allocations: 256.9 kB / 480.6 MB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.5184, allocations: 4.384 MB / 484.9 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/0.5185, allocations: 32 kB / 485 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5185, allocations: 7.938 kB / 485 MB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-05/0.5185, allocations: 19.92 kB / 485 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.5351, allocations: 8.382 MB / 493.4 MB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.5352, allocations: 4 kB / 493.4 MB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/0.5376, allocations: 455.7 kB / 493.8 MB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005173/0.5427, allocations: 1.251 MB / 495.1 MB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/0.5432, allocations: 75.98 kB / 495.2 MB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02278/0.566, allocations: 19.18 MB / 0.5023 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.566, allocations: 7.938 kB / 0.5023 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.5784, allocations: 6.101 MB / 0.5083 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.5797, allocations: 0.6109 MB / 0.5088 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.58, allocations: 64 kB / 0.5089 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.5817, allocations: 111.9 kB / 0.509 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005977/0.5823, allocations: 250.7 kB / 0.5093 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/0.5825, allocations: 91.97 kB / 0.5093 GB, free: 7.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.5841, allocations: 1.286 MB / 0.5106 GB, free: 6.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.5841, allocations: 96 / 0.5106 GB, free: 6.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002554/0.5867, allocations: 0.8788 MB / 0.5115 GB, free: 5.688 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.0009766/0.5877, allocations: 445.3 kB / 0.5119 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007744/0.5954, allocations: 4.445 MB / 0.5162 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.5955, allocations: 5.125 kB / 0.5162 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004789/0.6002, allocations: 2.976 MB / 0.5191 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.6027, allocations: 405.3 kB / 0.5195 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009947/0.6126, allocations: 5.592 MB / 0.525 GB, free: 7.547 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.6142, allocations: 1.702 MB / 0.5266 GB, free: 5.805 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001628/0.6158, allocations: 292.1 kB / 0.5269 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/0.6164, allocations: 159.3 kB / 0.5271 GB, free: 5.359 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6164, allocations: 0 / 0.5271 GB, free: 5.359 MB / 462.1 MB Notification: Performance of Templates: time 0.2659/0.8823, allocations: 53.22 MB / 0.579 GB, free: 140.9 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)