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.001638/0.001638, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.432/1.432, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001322/0.001322, allocations: 47.94 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1934, allocations: 46.63 MB / 325.3 MB, free: 2.078 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01151/0.205, allocations: 10.98 MB / 336.3 MB, free: 9.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006189/0.2112, allocations: 3.216 MB / 339.5 MB, free: 5.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.2127, allocations: 39.88 kB / 339.5 MB, free: 5.801 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.2139, allocations: 0.6754 MB / 340.2 MB, free: 5.121 MB / 270.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.002037/0.216, allocations: 0.8881 MB / 341.1 MB, free: 4.227 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.2178, allocations: 0.9206 MB / 342 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.2212, allocations: 3.435 MB / 345.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.2223, allocations: 0.8983 MB / 346.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.2239, allocations: 1.281 MB / 347.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.2254, allocations: 1.506 MB / 349.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.2258, allocations: 352 kB / 349.5 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.2263, allocations: 383.9 kB / 349.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006142/0.2269, allocations: 0.7048 MB / 350.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.2281, allocations: 1.485 MB / 352.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.2316, allocations: 4.224 MB / 356.3 MB, free: 4.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2316, allocations: 4 kB / 356.3 MB, free: 4.973 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2317, allocations: 0 / 356.3 MB, free: 4.973 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.695e-05/0.2317, allocations: 0 / 356.3 MB, free: 4.973 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.00639/0.2381, allocations: 3.123 MB / 359.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2382, allocations: 11.89 kB / 359.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.2386, allocations: 297.4 kB / 359.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.2407, allocations: 1.383 MB / 361.1 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2408, allocations: 156.6 kB / 361.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.2411, allocations: 212 kB / 361.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.2444, allocations: 1.881 MB / 363.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.2445, allocations: 7.984 kB / 363.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.2447, allocations: 84 kB / 363.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.2447, allocations: 52 kB / 363.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003742/0.2485, allocations: 1.91 MB / 365.4 MB, free: 11.67 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.01098/0.2595, allocations: 7.441 MB / 372.8 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.263, allocations: 2.279 MB / 375.1 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.2655, allocations: 1.366 MB / 376.5 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.2657, allocations: 41.95 kB / 376.5 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.2657, allocations: 60.56 kB / 376.6 MB, free: 152 kB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 4.468e-06/0.2657, allocations: 0 / 376.6 MB, free: 152 kB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.05799/0.3237, allocations: 17.6 MB / 394.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.3238, allocations: 86.17 kB / 394.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.3262, allocations: 1.84 MB / 396.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.3264, allocations: 81.7 kB / 396.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006917/0.3271, allocations: 0.981 MB / 397.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008569/0.328, allocations: 1.151 MB / 398.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008701/0.3288, allocations: 0.4916 MB / 398.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.3289, allocations: 301.1 kB / 399.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/0.3314, allocations: 1.225 MB / 400.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.3342, allocations: 1.533 MB / 401.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/0.3394, allocations: 2.874 MB / 404.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.3395, allocations: 4 kB / 404.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01043/0.3499, allocations: 4.455 MB / 409.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3499, allocations: 8 kB / 409.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.35, allocations: 4 kB / 409.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005344/0.3553, allocations: 1.338 MB / 410.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.3579, allocations: 0.5266 MB / 411.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/0.3845, allocations: 20.58 MB / 431.6 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.3866, allocations: 108 kB / 431.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.3869, allocations: 119.8 kB / 431.9 MB, free: 7.387 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.001179/0.3881, allocations: 0.5754 MB / 432.4 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004907/0.3886, allocations: 252.9 kB / 432.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.399, allocations: 4.392 MB / 437.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.399, allocations: 32 kB / 437.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.3991, allocations: 12.08 kB / 437.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.3991, allocations: 19.92 kB / 437.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.4151, allocations: 8.394 MB / 445.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.4151, allocations: 0 / 445.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/0.4175, allocations: 459.6 kB / 446 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/0.4227, allocations: 1.271 MB / 447.3 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002575/0.4229, allocations: 67.98 kB / 447.3 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1642/0.5871, allocations: 19.19 MB / 466.5 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5871, allocations: 3.844 kB / 466.5 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.5983, allocations: 6.102 MB / 472.6 MB, free: 100.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/0.5992, allocations: 0.6168 MB / 473.2 MB, free: 99.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/0.5995, allocations: 62.59 kB / 473.3 MB, free: 99.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.6011, allocations: 113 kB / 473.4 MB, free: 99.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005151/0.6016, allocations: 255.4 kB / 473.7 MB, free: 99.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.6017, allocations: 90.92 kB / 473.7 MB, free: 99.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001268/0.603, allocations: 1.29 MB / 475 MB, free: 99.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.603, allocations: 0 / 475 MB, free: 99.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002127/0.6052, allocations: 0.862 MB / 475.9 MB, free: 99.22 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.0008633/0.606, allocations: 445.6 kB / 476.3 MB, free: 98.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.012/0.618, allocations: 4.596 MB / 480.9 MB, free: 94.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.618, allocations: 3.938 kB / 480.9 MB, free: 94.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003434/0.6215, allocations: 2.98 MB / 483.9 MB, free: 92.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.6229, allocations: 372.6 kB / 484.3 MB, free: 91.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/0.63, allocations: 5.655 MB / 489.9 MB, free: 86.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/0.6308, allocations: 1.706 MB / 491.6 MB, free: 84.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.6322, allocations: 288.1 kB / 491.9 MB, free: 84.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/0.6328, allocations: 163.4 kB / 492.1 MB, free: 84.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6328, allocations: 4 kB / 492.1 MB, free: 84.47 MB / 382.1 MB Notification: Performance of Templates: time 0.06102/0.6938, allocations: 52.23 MB / 0.5316 GB, free: 32.16 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)