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.001055/0.001055, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00112/0.00112, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.411/1.411, allocations: 205.1 MB / 222 MB, free: 5.004 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.001197/0.001197, allocations: 51.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2217, allocations: 46.62 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01145/0.2332, allocations: 10.89 MB / 335.6 MB, free: 9.207 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007654/0.2409, allocations: 3.175 MB / 338.7 MB, free: 6.086 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.2433, allocations: 39.88 kB / 338.8 MB, free: 6.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.2447, allocations: 0.591 MB / 339.4 MB, free: 5.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.2473, allocations: 0.7764 MB / 340.2 MB, free: 4.672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.249, allocations: 0.8234 MB / 341 MB, free: 3.848 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.2527, allocations: 3.201 MB / 344.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.254, allocations: 0.769 MB / 344.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.2555, allocations: 1.093 MB / 346 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.2568, allocations: 1.377 MB / 347.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.2571, allocations: 172 kB / 347.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004241/0.2575, allocations: 196 kB / 347.8 MB, free: 13 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.258, allocations: 0.5406 MB / 348.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.2591, allocations: 1.305 MB / 349.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.262, allocations: 4.072 MB / 353.7 MB, free: 7.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2621, allocations: 0 / 353.7 MB, free: 7.055 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2621, allocations: 4 kB / 353.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.415e-05/0.2621, allocations: 0 / 353.7 MB, free: 7.051 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.007018/0.2692, allocations: 3.119 MB / 356.8 MB, free: 3.863 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2692, allocations: 8.031 kB / 356.8 MB, free: 3.855 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005026/0.2697, allocations: 297.4 kB / 357.1 MB, free: 3.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.272, allocations: 1.375 MB / 358.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2721, allocations: 156.5 kB / 358.6 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.2725, allocations: 212 kB / 358.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003582/0.2761, allocations: 1.893 MB / 360.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.2761, allocations: 0 / 360.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.2763, allocations: 80 kB / 360.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.2764, allocations: 52 kB / 360.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.2801, allocations: 1.91 MB / 362.8 MB, free: 13.77 MB / 302.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.01117/0.2913, allocations: 7.46 MB / 370.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003485/0.2948, allocations: 2.275 MB / 372.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002505/0.2973, allocations: 1.378 MB / 373.9 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.2974, allocations: 37.95 kB / 373.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.2975, allocations: 60.5 kB / 374 MB, free: 2.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 3.978e-06/0.2975, allocations: 0 / 374 MB, free: 2.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.05972/0.3572, allocations: 17.58 MB / 391.6 MB, free: 448 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3573, allocations: 90.17 kB / 391.7 MB, free: 344 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.3596, allocations: 1.84 MB / 393.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002599/0.3599, allocations: 81.7 kB / 393.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006449/0.3605, allocations: 0.9732 MB / 394.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008892/0.3614, allocations: 1.163 MB / 395.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000816/0.3623, allocations: 495.5 kB / 396.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3624, allocations: 313.1 kB / 396.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.3648, allocations: 1.209 MB / 397.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.3674, allocations: 1.537 MB / 399.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005028/0.3724, allocations: 2.874 MB / 402.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.3725, allocations: 0 / 402.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01026/0.3827, allocations: 4.451 MB / 406.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.3828, allocations: 8 kB / 406.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.3828, allocations: 4 kB / 406.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005402/0.3882, allocations: 1.33 MB / 407.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/0.3911, allocations: 0.5266 MB / 408.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02547/0.4165, allocations: 18.87 MB / 427.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/0.4191, allocations: 108 kB / 427.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004669/0.4196, allocations: 116 kB / 427.5 MB, free: 11.24 MB / 366.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.001523/0.4212, allocations: 0.5716 MB / 428.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006044/0.4218, allocations: 248.9 kB / 428.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.4322, allocations: 4.4 MB / 432.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/0.4322, allocations: 39.98 kB / 432.8 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/0.4323, allocations: 4 kB / 432.8 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/0.4323, allocations: 15.94 kB / 432.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.4494, allocations: 8.405 MB / 441.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.4495, allocations: 3.984 kB / 441.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/0.4519, allocations: 459.3 kB / 441.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005375/0.4573, allocations: 1.259 MB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003119/0.4576, allocations: 71.97 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1799/0.6376, allocations: 17.5 MB / 460.5 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6376, allocations: 2.125 kB / 460.5 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.6496, allocations: 6.095 MB / 466.6 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009709/0.6506, allocations: 0.6149 MB / 467.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/0.651, allocations: 62.95 kB / 467.3 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.6526, allocations: 108.2 kB / 467.4 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000781/0.6534, allocations: 262.2 kB / 467.6 MB, free: 104.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/0.6537, allocations: 86.22 kB / 467.7 MB, free: 104.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.655, allocations: 1.293 MB / 469 MB, free: 103.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.655, allocations: 0 / 469 MB, free: 103.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002338/0.6574, allocations: 0.8624 MB / 469.9 MB, free: 103.5 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.0009447/0.6583, allocations: 444.8 kB / 470.3 MB, free: 103.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006332/0.6647, allocations: 4.428 MB / 474.7 MB, free: 100.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6647, allocations: 3.938 kB / 474.7 MB, free: 100.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003798/0.6685, allocations: 2.972 MB / 477.7 MB, free: 97.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.6704, allocations: 371.2 kB / 478.1 MB, free: 97.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/0.6786, allocations: 6.776 MB / 484.8 MB, free: 90.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009274/0.6796, allocations: 1.707 MB / 486.5 MB, free: 89.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00162/0.6812, allocations: 292.1 kB / 486.8 MB, free: 89.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/0.6818, allocations: 151.4 kB / 487 MB, free: 89.02 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6818, allocations: 0 / 487 MB, free: 89.02 MB / 382.1 MB Notification: Performance of Templates: time 0.06128/0.7431, allocations: 49.83 MB / 0.5242 GB, free: 39.12 MB / 382.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)