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.007267/0.007267, allocations: 100.7 kB / 15.73 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.001712/0.001711, allocations: 196.5 kB / 16.68 MB, free: 5.926 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.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001118/0.001118, allocations: 50.98 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.0912, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01137/0.1026, allocations: 10.98 MB / 384.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006918/0.1096, allocations: 3.218 MB / 387.4 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.1119, allocations: 39.88 kB / 387.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.1135, allocations: 0.6755 MB / 388.1 MB, free: 2.344 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.002491/0.116, allocations: 0.892 MB / 389 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.1182, allocations: 0.9207 MB / 389.9 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004171/0.1224, allocations: 3.466 MB / 393.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.1237, allocations: 0.8866 MB / 394.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.1255, allocations: 1.293 MB / 395.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.1275, allocations: 1.514 MB / 397.1 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005011/0.128, allocations: 352 kB / 397.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006173/0.1286, allocations: 380 kB / 397.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004986/0.1291, allocations: 0.7165 MB / 398.5 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.1304, allocations: 1.473 MB / 400 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.1338, allocations: 4.252 MB / 404.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1339, allocations: 0 / 404.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1339, allocations: 0 / 404.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.436e-05/0.1339, allocations: 0 / 404.2 MB, free: 2.129 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.00666/0.1406, allocations: 3.134 MB / 407.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1407, allocations: 19.83 kB / 407.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.1411, allocations: 293.4 kB / 407.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.1437, allocations: 1.407 MB / 409.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.1439, allocations: 156.5 kB / 409.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.1442, allocations: 204.1 kB / 409.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003551/0.1477, allocations: 1.893 MB / 411.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.164e-05/0.1478, allocations: 11.91 kB / 411.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.148, allocations: 80 kB / 411.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.148, allocations: 48 kB / 411.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.1518, allocations: 1.914 MB / 413.3 MB, free: 8.785 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.01192/0.1637, allocations: 7.359 MB / 420.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.1675, allocations: 2.293 MB / 423 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.1703, allocations: 1.405 MB / 424.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.1704, allocations: 41.95 kB / 424.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.1705, allocations: 56.56 kB / 424.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 4.288e-06/0.1705, allocations: 0 / 424.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.0594/0.2299, allocations: 17.57 MB / 442.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.23, allocations: 90.17 kB / 442.2 MB, free: 11.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.2326, allocations: 1.844 MB / 444 MB, free: 9.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004865/0.2331, allocations: 81.7 kB / 444.1 MB, free: 9.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007162/0.2338, allocations: 0.9732 MB / 445.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.2349, allocations: 1.159 MB / 446.2 MB, free: 7.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008625/0.2358, allocations: 0.4917 MB / 446.7 MB, free: 6.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.2359, allocations: 305.1 kB / 447 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/0.2382, allocations: 1.213 MB / 448.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/0.2408, allocations: 1.533 MB / 449.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005197/0.246, allocations: 2.882 MB / 452.6 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.246, allocations: 0 / 452.6 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.1995/0.4455, allocations: 4.438 MB / 457.1 MB, free: 68.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.4456, allocations: 7.656 kB / 457.1 MB, free: 68.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.4456, allocations: 4.719 kB / 457.1 MB, free: 68.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005688/0.4513, allocations: 1.331 MB / 458.4 MB, free: 68.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.4542, allocations: 0.5297 MB / 458.9 MB, free: 68.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/0.4775, allocations: 20.58 MB / 479.5 MB, free: 53.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.4799, allocations: 106.1 kB / 479.6 MB, free: 53.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/0.4801, allocations: 109.3 kB / 479.7 MB, free: 53.2 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.0009611/0.4811, allocations: 0.5838 MB / 480.3 MB, free: 52.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.4814, allocations: 258 kB / 480.6 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008822/0.4902, allocations: 4.386 MB / 485 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.4903, allocations: 36.5 kB / 485 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4903, allocations: 0 / 485 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.4903, allocations: 21.45 kB / 485 MB, free: 50.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.5038, allocations: 8.372 MB / 493.4 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.5039, allocations: 4 kB / 493.4 MB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/0.5061, allocations: 463.6 kB / 493.8 MB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004758/0.5109, allocations: 1.262 MB / 495.1 MB, free: 41.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000333/0.5112, allocations: 67.98 kB / 495.2 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0198/0.531, allocations: 19.17 MB / 0.5023 GB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5311, allocations: 8.031 kB / 0.5023 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.5432, allocations: 6.102 MB / 0.5082 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.5446, allocations: 0.6109 MB / 0.5088 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/0.5449, allocations: 68.45 kB / 0.5089 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/0.5467, allocations: 107.9 kB / 0.509 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006366/0.5473, allocations: 254.8 kB / 0.5093 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.5475, allocations: 91.98 kB / 0.5093 GB, free: 14.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001451/0.549, allocations: 1.29 MB / 0.5106 GB, free: 13.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.549, allocations: 0 / 0.5106 GB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002632/0.5516, allocations: 0.8671 MB / 0.5115 GB, free: 12.23 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.000949/0.5526, allocations: 449.8 kB / 0.5119 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006724/0.5593, allocations: 4.451 MB / 0.5162 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.5593, allocations: 4.375 kB / 0.5162 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004123/0.5635, allocations: 2.972 MB / 0.5191 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.5655, allocations: 381.5 kB / 0.5195 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/0.5754, allocations: 5.609 MB / 0.525 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.5768, allocations: 1.706 MB / 0.5266 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001763/0.5786, allocations: 292.1 kB / 0.5269 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006354/0.5792, allocations: 159.4 kB / 0.5271 GB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5792, allocations: 0 / 0.5271 GB, free: 12 MB / 398.1 MB Notification: Performance of Templates: time 0.08455/0.6638, allocations: 54.59 MB / 0.5804 GB, free: 5.312 MB / 446.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)