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.001073/0.001073, allocations: 86.16 kB / 16.31 MB, free: 6.449 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.001221/0.001221, allocations: 180.5 kB / 17.21 MB, free: 6.32 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.644/1.644, allocations: 205.4 MB / 223.4 MB, free: 5.246 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.0005754/0.0005757, allocations: 15.98 kB / 280.1 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2788, allocations: 47.6 MB / 327.7 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01034/0.2892, allocations: 9.636 MB / 337.4 MB, free: 9.816 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00732/0.2965, allocations: 3.088 MB / 340.5 MB, free: 6.715 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.299, allocations: 35.88 kB / 340.5 MB, free: 6.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.3003, allocations: 0.5676 MB / 341.1 MB, free: 6.109 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.3036, allocations: 0.7569 MB / 341.8 MB, free: 5.348 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.3056, allocations: 0.5577 MB / 342.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004561/0.3101, allocations: 3.01 MB / 345.4 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.3114, allocations: 0.6839 MB / 346.1 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.3135, allocations: 1.008 MB / 347.1 MB, free: 52 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.3152, allocations: 1.245 MB / 348.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.3156, allocations: 144 kB / 348.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.3161, allocations: 168 kB / 348.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004695/0.3166, allocations: 497.9 kB / 349.1 MB, free: 14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007483/0.3173, allocations: 0.512 MB / 349.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.3205, allocations: 3.338 MB / 353 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3206, allocations: 0 / 353 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3206, allocations: 0 / 353 MB, free: 10.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001089/0.3207, allocations: 0 / 353 MB, free: 10.14 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.007319/0.328, allocations: 2.741 MB / 355.7 MB, free: 7.332 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3281, allocations: 8.031 kB / 355.7 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.3289, allocations: 300.4 kB / 356 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.3319, allocations: 1.325 MB / 357.3 MB, free: 5.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.3321, allocations: 156.1 kB / 357.5 MB, free: 5.492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/0.3324, allocations: 204 kB / 357.7 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004745/0.3372, allocations: 1.905 MB / 359.6 MB, free: 3.332 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.516e-05/0.3373, allocations: 3.906 kB / 359.6 MB, free: 3.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.3374, allocations: 88 kB / 359.7 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.3375, allocations: 48 kB / 359.7 MB, free: 3.195 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/0.3421, allocations: 1.957 MB / 361.7 MB, free: 1.223 MB / 286.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.01508/0.3572, allocations: 7.48 MB / 369.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/0.3614, allocations: 2.294 MB / 371.5 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002703/0.3642, allocations: 1.382 MB / 372.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.3643, allocations: 41.95 kB / 372.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.3645, allocations: 60.56 kB / 372.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 3.777e-06/0.3645, allocations: 0 / 372.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.06952/0.434, allocations: 17.78 MB / 390.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.4342, allocations: 94.11 kB / 390.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.4383, allocations: 1.832 MB / 392.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007396/0.4391, allocations: 81.7 kB / 392.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.4402, allocations: 0.9772 MB / 393.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001976/0.4422, allocations: 1.163 MB / 394.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005142/0.4428, allocations: 67.94 kB / 394.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003526/0.4431, allocations: 432.7 kB / 395.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/0.4465, allocations: 1.229 MB / 396.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/0.4503, allocations: 1.541 MB / 398.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/0.4541, allocations: 1.412 MB / 399.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/0.4541, allocations: 7.938 kB / 399.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01319/0.4673, allocations: 4.475 MB / 404 MB, free: 6.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.4674, allocations: 8 kB / 404 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.4675, allocations: 4 kB / 404 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/0.4734, allocations: 1.322 MB / 405.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.4767, allocations: 0.5383 MB / 405.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03157/0.5083, allocations: 18.85 MB / 424.7 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.5114, allocations: 116 kB / 424.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/0.5122, allocations: 108 kB / 425 MB, free: 252 kB / 350.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 (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 initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 50,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.002529/0.5147, allocations: 0.5871 MB / 425.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.5158, allocations: 248.9 kB / 425.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.5285, allocations: 4.423 MB / 430.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/0.5286, allocations: 32 kB / 430.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/0.5286, allocations: 7.984 kB / 430.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-05/0.5287, allocations: 15.94 kB / 430.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02241/0.5511, allocations: 8.445 MB / 438.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-05/0.5512, allocations: 4 kB / 438.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/0.5541, allocations: 471.6 kB / 439.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005711/0.5598, allocations: 1.263 MB / 440.4 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007017/0.5605, allocations: 67.98 kB / 440.5 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2808/0.8414, allocations: 17.5 MB / 458 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.8414, allocations: 7.406 kB / 458 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/0.8577, allocations: 6.145 MB / 464.2 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/0.8596, allocations: 0.616 MB / 464.8 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005787/0.8602, allocations: 59.31 kB / 464.8 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/0.8621, allocations: 124.6 kB / 465 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/0.8628, allocations: 263.3 kB / 465.2 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.863, allocations: 85.88 kB / 465.3 MB, free: 106.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00187/0.8649, allocations: 1.278 MB / 466.6 MB, free: 105.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8649, allocations: 0 / 466.6 MB, free: 105.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003596/0.8685, allocations: 0.8627 MB / 467.4 MB, free: 105.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 5} * Non-linear torn systems: 2 {3 41,3 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/0.8699, allocations: 446.8 kB / 467.9 MB, free: 105.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008509/0.8785, allocations: 4.468 MB / 472.3 MB, free: 103 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.8785, allocations: 7.281 kB / 472.3 MB, free: 103 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005166/0.8837, allocations: 2.982 MB / 475.3 MB, free: 100.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.887, allocations: 371 kB / 475.7 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.8983, allocations: 6.658 MB / 482.4 MB, free: 94.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.8999, allocations: 1.703 MB / 484.1 MB, free: 93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002412/0.9024, allocations: 298.1 kB / 484.3 MB, free: 92.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/0.903, allocations: 154.8 kB / 484.5 MB, free: 92.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.225e-06/0.903, allocations: 0 / 484.5 MB, free: 92.63 MB / 382.1 MB Notification: Performance of Templates: time 0.07744/0.9805, allocations: 47.84 MB / 0.5199 GB, free: 44.95 MB / 382.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)